moviewyrm/bookwyrm/migrations/0123_alter_user_preferred_language.py

35 lines
1.1 KiB
Python
Raw Normal View History

2022-01-04 22:30:41 +00:00
# Generated by Django 3.2.5 on 2022-01-04 22:31
2022-01-04 21:30:08 +00:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("bookwyrm", "0122_alter_annualgoal_year"),
]
operations = [
migrations.AlterField(
model_name="user",
name="preferred_language",
field=models.CharField(
blank=True,
choices=[
("en-us", "English"),
("de-de", "Deutsch (German)"),
("es-es", "Español (Spanish)"),
("gl-es", "Galego (Galician)"),
("fr-fr", "Français (French)"),
("lt-lt", "Lietuvių (Lithuanian)"),
2022-01-04 22:30:41 +00:00
("pt-br", "Português do Brasil (Brazilian Portuguese)"),
("pt-pt", "Português Europeu (European Portuguese)"),
2022-01-04 21:30:08 +00:00
("zh-hans", "简体中文 (Simplified Chinese)"),
("zh-hant", "繁體中文 (Traditional Chinese)"),
],
max_length=255,
null=True,
),
),
]