mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-05 17:22:11 +01:00
holy theme
This commit is contained in:
1 parent
a38c1d2aad
commit
b014c56e22
4 files changed
+41
-6
No files matched your search
@@ -4,6 +4,8 @@ from django.core.validators import MinValueValidator, MaxValueValidator
|
||||
|
||||
class User(AbstractUser):
|
||||
THEME_CHOICES = [
|
||||
('holy_light', 'Holy Light'),
|
||||
('holy_dark', 'Holy Dark'),
|
||||
('latte', 'Latte'),
|
||||
('pink', 'Pastel Pink'),
|
||||
('solarized_light', 'Solarized Light'),
|
||||
@@ -23,7 +25,7 @@ class User(AbstractUser):
|
||||
('en', 'English'),
|
||||
('de', 'Deutsch'),
|
||||
]
|
||||
theme = models.CharField(max_length=20, choices=THEME_CHOICES, default='mocha')
|
||||
theme = models.CharField(max_length=20, choices=THEME_CHOICES, default='holy_dark')
|
||||
language = models.CharField(max_length=2, choices=LANGUAGE_CHOICES, default='en')
|
||||
avatar = models.ImageField(upload_to='avatars/', blank=True, null=True)
|
||||
pending_email = models.EmailField(max_length=254, blank=True, null=True)
|
||||
|
||||
Reference in new issue
Block a user