From 5cf52cff5427cf86fcd0489800ef26f599002fd3 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 26 Mar 2022 10:30:37 -0700 Subject: [PATCH] Formats migration --- .../0147_alter_user_preferred_language.py | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/bookwyrm/migrations/0147_alter_user_preferred_language.py b/bookwyrm/migrations/0147_alter_user_preferred_language.py index 2d1b94b6f..0c9609b0b 100644 --- a/bookwyrm/migrations/0147_alter_user_preferred_language.py +++ b/bookwyrm/migrations/0147_alter_user_preferred_language.py @@ -6,13 +6,33 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('bookwyrm', '0146_auto_20220316_2352'), + ("bookwyrm", "0146_auto_20220316_2352"), ] 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)'), ('it-it', 'Italiano (Italian)'), ('fr-fr', 'Français (French)'), ('lt-lt', 'Lietuvių (Lithuanian)'), ('no-no', 'Norsk (Norwegian)'), ('pt-br', 'Português do Brasil (Brazilian Portuguese)'), ('pt-pt', 'Português Europeu (European Portuguese)'), ('ro-ro', 'Română (Romanian)'), ('sv-se', 'Svenska (Swedish)'), ('zh-hans', '简体中文 (Simplified Chinese)'), ('zh-hant', '繁體中文 (Traditional Chinese)')], max_length=255, null=True), + 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)"), + ("it-it", "Italiano (Italian)"), + ("fr-fr", "Français (French)"), + ("lt-lt", "Lietuvių (Lithuanian)"), + ("no-no", "Norsk (Norwegian)"), + ("pt-br", "Português do Brasil (Brazilian Portuguese)"), + ("pt-pt", "Português Europeu (European Portuguese)"), + ("ro-ro", "Română (Romanian)"), + ("sv-se", "Svenska (Swedish)"), + ("zh-hans", "简体中文 (Simplified Chinese)"), + ("zh-hant", "繁體中文 (Traditional Chinese)"), + ], + max_length=255, + null=True, + ), ), ]