schon/vibes_auth/migrations/0003_alter_user_language.py
Egor fureunoir Gorbunov 4991828b9b Features: 1) Updated user language field in vibes_auth to include more language options with a default set to 'en-gb';
Fixes: 1) Standardized field names in core models by renaming locale-specific fields to lowercase format for consistency (e.g., name_en_GB to name_en_gb);

Extra: Applied migrations to reflect these changes in vibes_auth and core apps for smoother db schema alignment.
2025-05-20 22:08:04 +03:00

23 lines
1,018 B
Python

# Generated by Django 5.2 on 2025-05-20 19:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vibes_auth', '0002_blacklistedtoken_outstandingtoken'),
]
operations = [
migrations.AlterField(
model_name='user',
name='language',
field=models.CharField(
choices=[('en-gb', 'English (British)'), ('ar-ar', 'العربية'), ('cs-cz', 'Česky'), ('da-dk', 'Dansk'),
('de-de', 'Deutsch'), ('en-us', 'English (American)'), ('es-es', 'Español'),
('fr-fr', 'Français'), ('hi-in', 'हिंदी'), ('it-it', 'Italiano'), ('ja-jp', '日本語'),
('kk-kz', 'Қазақ'), ('nl-nl', 'Nederlands'), ('pl-pl', 'Polska'), ('pt-br', 'Português'),
('ro-ro', 'Română'), ('ru-ru', 'Русский'), ('zh-hans', '简体中文')], default='en-gb',
max_length=7),
),
]