mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 21:26:33 +00:00
Python formatting
This commit is contained in:
parent
18cec21a37
commit
48b84afbde
1 changed files with 17 additions and 4 deletions
|
@ -6,13 +6,26 @@ from django.db import migrations, models
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('bookwyrm', '0106_user_preferred_language'),
|
("bookwyrm", "0106_user_preferred_language"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='user',
|
model_name="user",
|
||||||
name='preferred_language',
|
name="preferred_language",
|
||||||
field=models.CharField(blank=True, choices=[('en-us', 'English'), ('de-de', 'Deutsch (German)'), ('es', 'Español (Spanish)'), ('fr-fr', 'Français (French)'), ('pt-br', 'Português - Brasil (Brazilian Portugues)'), ('zh-hans', '简体中文 (Simplified Chinese)'), ('zh-hant', '繁體中文 (Traditional Chinese)')], max_length=255, null=True),
|
field=models.CharField(
|
||||||
|
blank=True,
|
||||||
|
choices=[
|
||||||
|
("en-us", "English"),
|
||||||
|
("de-de", "Deutsch (German)"),
|
||||||
|
("es", "Español (Spanish)"),
|
||||||
|
("fr-fr", "Français (French)"),
|
||||||
|
("pt-br", "Português - Brasil (Brazilian Portugues)"),
|
||||||
|
("zh-hans", "简体中文 (Simplified Chinese)"),
|
||||||
|
("zh-hant", "繁體中文 (Traditional Chinese)"),
|
||||||
|
],
|
||||||
|
max_length=255,
|
||||||
|
null=True,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue