-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make user
preferred_language
not nullable with default of fi
- Loading branch information
1 parent
a40de0a
commit 1c6fc45
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
tilavarauspalvelu/migrations/0031_alter_user_preferred_language.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 5.1.1 on 2024-10-03 11:47 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tilavarauspalvelu", "0030_determine_preferred_language"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="user", | ||
name="preferred_language", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[("fi", "Finnish"), ("en", "English"), ("sv", "Swedish")], | ||
default="fi", | ||
max_length=8, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters