Skip to content

Commit

Permalink
Makes more clear the is_enable function in themes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Oct 23, 2023
1 parent da856b5 commit 01f7de2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.21 on 2023-10-23 10:20

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('geonode_themes', '0014_auto_20220214_0910'),
]

operations = [
migrations.AlterField(
model_name='geonodethemecustomization',
name='is_enabled',
field=models.BooleanField(default=False, help_text='Will enable the theme GLOBALLY. Will disable the current enabled theme (if any)'),
),
]
2 changes: 1 addition & 1 deletion geonode/themes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class GeoNodeThemeCustomization(models.Model):
name = models.CharField(max_length=100, help_text="This will not appear anywhere.")
description = models.TextField(null=True, blank=True, help_text="This will not appear anywhere.")
is_enabled = models.BooleanField(
default=False, help_text="Enabling this theme will disable the current enabled theme (if any)"
default=False, help_text="Will enable the theme GLOBALLY. Will disable the current enabled theme (if any)"
)
logo = models.ImageField(upload_to="img/%Y/%m", null=True, blank=True)
extra_css = models.TextField(
Expand Down

0 comments on commit 01f7de2

Please sign in to comment.