fided left hand mode

This commit is contained in:
nvrl committed 2026-05-08 22:06:11 +02:00
1 parent 7a8089a194
commit 8815ec33cd
4 files changed
+23 -5

No files matched your search

@@ -0,0 +1,18 @@
# Generated by Django 6.0.4 on 2026-05-08 20:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0033_user_drawer_anchor'),
]
operations = [
migrations.AlterField(
model_name='user',
name='drawer_anchor',
field=models.CharField(choices=[('left', 'Left'), ('right', 'Right')], default='right', max_length=5),
),
]
+1 -1
View File
@@ -32,7 +32,7 @@ class User(AbstractUser):
]
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")
drawer_anchor = models.CharField(max_length=5, choices=DRAWER_ANCHOR_CHOICES, default="right")
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)