updated admin panel + side bar

This commit is contained in:
nvrl committed 2026-04-27 09:23:22 +02:00
1 parent 22fe0674dd
commit 556bae3556
23 files changed
+2217 -637

No files matched your search

+7
View File
@@ -26,8 +26,15 @@ class User(AbstractUser):
("en", "English"),
("de", "Deutsch"),
]
DRAWER_ANCHOR_CHOICES = [
("left", "Left"),
("right", "Right"),
]
theme = models.CharField(max_length=20, choices=THEME_CHOICES, default="holy_light")
language = models.CharField(max_length=2, choices=LANGUAGE_CHOICES, default="en")
drawer_anchor = models.CharField(
max_length=5, choices=DRAWER_ANCHOR_CHOICES, default="left"
)
avatar = models.ImageField(upload_to="avatars/", blank=True, null=True)
pending_email = models.EmailField(max_length=254, blank=True, null=True)
email_confirmation_code = models.CharField(max_length=6, blank=True, null=True)