First commit of claude's rework in django + vanillajs fronted
This commit is contained in:
21
apps/users/migrations/0003_user_language.py
Normal file
21
apps/users/migrations/0003_user_language.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0002_user_avatar'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='language',
|
||||
field=models.CharField(
|
||||
choices=[('en', 'English'), ('fr', 'Français'), ('de', 'Deutsch'), ('es', 'Español')],
|
||||
default='en',
|
||||
max_length=5,
|
||||
verbose_name='language',
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user