Skip to content
Snippets Groups Projects
Unverified Commit f1a905b0 authored by mattiagiupponi's avatar mattiagiupponi Committed by GitHub
Browse files

Makes more clear the is_enable function in themes (#11631)

* Makes more clear the is_enable function in themes

* Update models.py

* Update 0015_alter_geonodethemecustomization_is_enabled.py

* fix format
parent da856b5f
Branches
No related tags found
No related merge requests found
# 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='Set this theme as the current global theme for GeoNode. This will disable the current theme (if any)'),
),
]
......@@ -54,7 +54,8 @@ 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="Set this theme as the current global theme for GeoNode. This will disable the current theme (if any)",
)
logo = models.ImageField(upload_to="img/%Y/%m", null=True, blank=True)
extra_css = models.TextField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment