-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add migrations and update openapi schema following django upgrade (ad…
…ds new language)
- Loading branch information
1 parent
c9bd8c8
commit db659b7
Showing
3 changed files
with
455 additions
and
0 deletions.
There are no files selected for viewing
334 changes: 334 additions & 0 deletions
334
backend/backoffice/migrations/0015_alter_bannerlocale_language_and_more.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,334 @@ | ||
# Generated by Django 4.2.7 on 2023-11-07 21:55 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("backoffice", "0014_delete_legacy_faq_tables"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="bannerlocale", | ||
name="language", | ||
field=models.CharField( | ||
choices=[ | ||
("af", "Afrikaans"), | ||
("ar", "Arabic"), | ||
("ar-dz", "Algerian Arabic"), | ||
("ast", "Asturian"), | ||
("az", "Azerbaijani"), | ||
("bg", "Bulgarian"), | ||
("be", "Belarusian"), | ||
("bn", "Bengali"), | ||
("br", "Breton"), | ||
("bs", "Bosnian"), | ||
("ca", "Catalan"), | ||
("ckb", "Central Kurdish (Sorani)"), | ||
("cs", "Czech"), | ||
("cy", "Welsh"), | ||
("da", "Danish"), | ||
("de", "German"), | ||
("dsb", "Lower Sorbian"), | ||
("el", "Greek"), | ||
("en", "English"), | ||
("en-au", "Australian English"), | ||
("en-gb", "British English"), | ||
("eo", "Esperanto"), | ||
("es", "Spanish"), | ||
("es-ar", "Argentinian Spanish"), | ||
("es-co", "Colombian Spanish"), | ||
("es-mx", "Mexican Spanish"), | ||
("es-ni", "Nicaraguan Spanish"), | ||
("es-ve", "Venezuelan Spanish"), | ||
("et", "Estonian"), | ||
("eu", "Basque"), | ||
("fa", "Persian"), | ||
("fi", "Finnish"), | ||
("fr", "French"), | ||
("fy", "Frisian"), | ||
("ga", "Irish"), | ||
("gd", "Scottish Gaelic"), | ||
("gl", "Galician"), | ||
("he", "Hebrew"), | ||
("hi", "Hindi"), | ||
("hr", "Croatian"), | ||
("hsb", "Upper Sorbian"), | ||
("hu", "Hungarian"), | ||
("hy", "Armenian"), | ||
("ia", "Interlingua"), | ||
("id", "Indonesian"), | ||
("ig", "Igbo"), | ||
("io", "Ido"), | ||
("is", "Icelandic"), | ||
("it", "Italian"), | ||
("ja", "Japanese"), | ||
("ka", "Georgian"), | ||
("kab", "Kabyle"), | ||
("kk", "Kazakh"), | ||
("km", "Khmer"), | ||
("kn", "Kannada"), | ||
("ko", "Korean"), | ||
("ky", "Kyrgyz"), | ||
("lb", "Luxembourgish"), | ||
("lt", "Lithuanian"), | ||
("lv", "Latvian"), | ||
("mk", "Macedonian"), | ||
("ml", "Malayalam"), | ||
("mn", "Mongolian"), | ||
("mr", "Marathi"), | ||
("ms", "Malay"), | ||
("my", "Burmese"), | ||
("nb", "Norwegian Bokmål"), | ||
("ne", "Nepali"), | ||
("nl", "Dutch"), | ||
("nn", "Norwegian Nynorsk"), | ||
("os", "Ossetic"), | ||
("pa", "Punjabi"), | ||
("pl", "Polish"), | ||
("pt", "Portuguese"), | ||
("pt-br", "Brazilian Portuguese"), | ||
("ro", "Romanian"), | ||
("ru", "Russian"), | ||
("sk", "Slovak"), | ||
("sl", "Slovenian"), | ||
("sq", "Albanian"), | ||
("sr", "Serbian"), | ||
("sr-latn", "Serbian Latin"), | ||
("sv", "Swedish"), | ||
("sw", "Swahili"), | ||
("ta", "Tamil"), | ||
("te", "Telugu"), | ||
("tg", "Tajik"), | ||
("th", "Thai"), | ||
("tk", "Turkmen"), | ||
("tr", "Turkish"), | ||
("tt", "Tatar"), | ||
("udm", "Udmurt"), | ||
("uk", "Ukrainian"), | ||
("ur", "Urdu"), | ||
("uz", "Uzbek"), | ||
("vi", "Vietnamese"), | ||
("zh-hans", "Simplified Chinese"), | ||
("zh-hant", "Traditional Chinese"), | ||
], | ||
max_length=10, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="faqanswerlocale", | ||
name="language", | ||
field=models.CharField( | ||
choices=[ | ||
("af", "Afrikaans"), | ||
("ar", "Arabic"), | ||
("ar-dz", "Algerian Arabic"), | ||
("ast", "Asturian"), | ||
("az", "Azerbaijani"), | ||
("bg", "Bulgarian"), | ||
("be", "Belarusian"), | ||
("bn", "Bengali"), | ||
("br", "Breton"), | ||
("bs", "Bosnian"), | ||
("ca", "Catalan"), | ||
("ckb", "Central Kurdish (Sorani)"), | ||
("cs", "Czech"), | ||
("cy", "Welsh"), | ||
("da", "Danish"), | ||
("de", "German"), | ||
("dsb", "Lower Sorbian"), | ||
("el", "Greek"), | ||
("en", "English"), | ||
("en-au", "Australian English"), | ||
("en-gb", "British English"), | ||
("eo", "Esperanto"), | ||
("es", "Spanish"), | ||
("es-ar", "Argentinian Spanish"), | ||
("es-co", "Colombian Spanish"), | ||
("es-mx", "Mexican Spanish"), | ||
("es-ni", "Nicaraguan Spanish"), | ||
("es-ve", "Venezuelan Spanish"), | ||
("et", "Estonian"), | ||
("eu", "Basque"), | ||
("fa", "Persian"), | ||
("fi", "Finnish"), | ||
("fr", "French"), | ||
("fy", "Frisian"), | ||
("ga", "Irish"), | ||
("gd", "Scottish Gaelic"), | ||
("gl", "Galician"), | ||
("he", "Hebrew"), | ||
("hi", "Hindi"), | ||
("hr", "Croatian"), | ||
("hsb", "Upper Sorbian"), | ||
("hu", "Hungarian"), | ||
("hy", "Armenian"), | ||
("ia", "Interlingua"), | ||
("id", "Indonesian"), | ||
("ig", "Igbo"), | ||
("io", "Ido"), | ||
("is", "Icelandic"), | ||
("it", "Italian"), | ||
("ja", "Japanese"), | ||
("ka", "Georgian"), | ||
("kab", "Kabyle"), | ||
("kk", "Kazakh"), | ||
("km", "Khmer"), | ||
("kn", "Kannada"), | ||
("ko", "Korean"), | ||
("ky", "Kyrgyz"), | ||
("lb", "Luxembourgish"), | ||
("lt", "Lithuanian"), | ||
("lv", "Latvian"), | ||
("mk", "Macedonian"), | ||
("ml", "Malayalam"), | ||
("mn", "Mongolian"), | ||
("mr", "Marathi"), | ||
("ms", "Malay"), | ||
("my", "Burmese"), | ||
("nb", "Norwegian Bokmål"), | ||
("ne", "Nepali"), | ||
("nl", "Dutch"), | ||
("nn", "Norwegian Nynorsk"), | ||
("os", "Ossetic"), | ||
("pa", "Punjabi"), | ||
("pl", "Polish"), | ||
("pt", "Portuguese"), | ||
("pt-br", "Brazilian Portuguese"), | ||
("ro", "Romanian"), | ||
("ru", "Russian"), | ||
("sk", "Slovak"), | ||
("sl", "Slovenian"), | ||
("sq", "Albanian"), | ||
("sr", "Serbian"), | ||
("sr-latn", "Serbian Latin"), | ||
("sv", "Swedish"), | ||
("sw", "Swahili"), | ||
("ta", "Tamil"), | ||
("te", "Telugu"), | ||
("tg", "Tajik"), | ||
("th", "Thai"), | ||
("tk", "Turkmen"), | ||
("tr", "Turkish"), | ||
("tt", "Tatar"), | ||
("udm", "Udmurt"), | ||
("uk", "Ukrainian"), | ||
("ur", "Urdu"), | ||
("uz", "Uzbek"), | ||
("vi", "Vietnamese"), | ||
("zh-hans", "Simplified Chinese"), | ||
("zh-hant", "Traditional Chinese"), | ||
], | ||
max_length=10, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="faquestionlocale", | ||
name="language", | ||
field=models.CharField( | ||
choices=[ | ||
("af", "Afrikaans"), | ||
("ar", "Arabic"), | ||
("ar-dz", "Algerian Arabic"), | ||
("ast", "Asturian"), | ||
("az", "Azerbaijani"), | ||
("bg", "Bulgarian"), | ||
("be", "Belarusian"), | ||
("bn", "Bengali"), | ||
("br", "Breton"), | ||
("bs", "Bosnian"), | ||
("ca", "Catalan"), | ||
("ckb", "Central Kurdish (Sorani)"), | ||
("cs", "Czech"), | ||
("cy", "Welsh"), | ||
("da", "Danish"), | ||
("de", "German"), | ||
("dsb", "Lower Sorbian"), | ||
("el", "Greek"), | ||
("en", "English"), | ||
("en-au", "Australian English"), | ||
("en-gb", "British English"), | ||
("eo", "Esperanto"), | ||
("es", "Spanish"), | ||
("es-ar", "Argentinian Spanish"), | ||
("es-co", "Colombian Spanish"), | ||
("es-mx", "Mexican Spanish"), | ||
("es-ni", "Nicaraguan Spanish"), | ||
("es-ve", "Venezuelan Spanish"), | ||
("et", "Estonian"), | ||
("eu", "Basque"), | ||
("fa", "Persian"), | ||
("fi", "Finnish"), | ||
("fr", "French"), | ||
("fy", "Frisian"), | ||
("ga", "Irish"), | ||
("gd", "Scottish Gaelic"), | ||
("gl", "Galician"), | ||
("he", "Hebrew"), | ||
("hi", "Hindi"), | ||
("hr", "Croatian"), | ||
("hsb", "Upper Sorbian"), | ||
("hu", "Hungarian"), | ||
("hy", "Armenian"), | ||
("ia", "Interlingua"), | ||
("id", "Indonesian"), | ||
("ig", "Igbo"), | ||
("io", "Ido"), | ||
("is", "Icelandic"), | ||
("it", "Italian"), | ||
("ja", "Japanese"), | ||
("ka", "Georgian"), | ||
("kab", "Kabyle"), | ||
("kk", "Kazakh"), | ||
("km", "Khmer"), | ||
("kn", "Kannada"), | ||
("ko", "Korean"), | ||
("ky", "Kyrgyz"), | ||
("lb", "Luxembourgish"), | ||
("lt", "Lithuanian"), | ||
("lv", "Latvian"), | ||
("mk", "Macedonian"), | ||
("ml", "Malayalam"), | ||
("mn", "Mongolian"), | ||
("mr", "Marathi"), | ||
("ms", "Malay"), | ||
("my", "Burmese"), | ||
("nb", "Norwegian Bokmål"), | ||
("ne", "Nepali"), | ||
("nl", "Dutch"), | ||
("nn", "Norwegian Nynorsk"), | ||
("os", "Ossetic"), | ||
("pa", "Punjabi"), | ||
("pl", "Polish"), | ||
("pt", "Portuguese"), | ||
("pt-br", "Brazilian Portuguese"), | ||
("ro", "Romanian"), | ||
("ru", "Russian"), | ||
("sk", "Slovak"), | ||
("sl", "Slovenian"), | ||
("sq", "Albanian"), | ||
("sr", "Serbian"), | ||
("sr-latn", "Serbian Latin"), | ||
("sv", "Swedish"), | ||
("sw", "Swahili"), | ||
("ta", "Tamil"), | ||
("te", "Telugu"), | ||
("tg", "Tajik"), | ||
("th", "Thai"), | ||
("tk", "Turkmen"), | ||
("tr", "Turkish"), | ||
("tt", "Tatar"), | ||
("udm", "Udmurt"), | ||
("uk", "Ukrainian"), | ||
("ur", "Urdu"), | ||
("uz", "Uzbek"), | ||
("vi", "Vietnamese"), | ||
("zh-hans", "Simplified Chinese"), | ||
("zh-hant", "Traditional Chinese"), | ||
], | ||
max_length=10, | ||
), | ||
), | ||
] |
Oops, something went wrong.