Skip to content
Snippets Groups Projects
Commit ece90a1c authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Removed setting field "planning_caption"

parent 0fb13bf4
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.0.8 on 2021-04-25 14:43
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('site_settings', '0004_sitesettings_planning_caption'),
]
operations = [
migrations.RemoveField(
model_name='sitesettings',
name='planning_caption',
),
]
......@@ -88,11 +88,6 @@ class SiteSettings(SingletonModel):
help_text="Assurez vous que le message est bien formaté, cela peut casser toutes les pages du site",
)
planning_caption = models.TextField("Légende du planning", blank=True, null=True,
help_text="Légende du planning (au format HTML). Les couleurs sont accessibles dans le style"
"via var(--color_1), var(--color_1_fg) et var(--color_1_hover)"
)
@property
def contact_email_reversed(self) -> str:
return self.contact_email[::-1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment