diff --git a/nxtbn/core/migrations/0005_remove_sitesettings_timezone.py b/nxtbn/core/migrations/0005_remove_sitesettings_timezone.py new file mode 100644 index 0000000..d6cb749 --- /dev/null +++ b/nxtbn/core/migrations/0005_remove_sitesettings_timezone.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.11 on 2024-05-27 16:30 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0004_alter_currencyexchange_options_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='sitesettings', + name='timezone', + ), + ] diff --git a/nxtbn/core/models.py b/nxtbn/core/models.py index 35f8604..885b49e 100644 --- a/nxtbn/core/models.py +++ b/nxtbn/core/models.py @@ -119,7 +119,6 @@ class SiteSettings(models.Model): contact_email = models.EmailField(blank=True, null=True, help_text="Contact email for site administrators.") contact_phone = models.CharField(max_length=20, blank=True, null=True, help_text="Contact phone number for site administrators.") address = models.TextField(blank=True, null=True, help_text="Physical address of the site.") - timezone = models.CharField(max_length=50, blank=True, null=True, help_text="Timezone of the site.") logo = models.ImageField(upload_to='logos/', blank=True, null=True, help_text="Logo of the site.") def clean(self):