This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move lang select form to the side bar
- Loading branch information
Showing
5 changed files
with
245 additions
and
14 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
core/migrations/0003_newsandevents_summary_es_newsandevents_summary_fr_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,33 @@ | ||
# Generated by Django 4.2.16 on 2024-09-29 13:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0002_newsandevents_summary_en_newsandevents_summary_ru_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="newsandevents", | ||
name="summary_es", | ||
field=models.TextField(blank=True, max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="newsandevents", | ||
name="summary_fr", | ||
field=models.TextField(blank=True, max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="newsandevents", | ||
name="title_es", | ||
field=models.CharField(max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="newsandevents", | ||
name="title_fr", | ||
field=models.CharField(max_length=200, null=True), | ||
), | ||
] |
83 changes: 83 additions & 0 deletions
83
course/migrations/0003_course_summary_es_course_summary_fr_course_title_es_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,83 @@ | ||
# Generated by Django 4.2.16 on 2024-09-29 13:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("course", "0002_course_summary_en_course_summary_ru_course_title_en_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="course", | ||
name="summary_es", | ||
field=models.TextField(blank=True, max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="course", | ||
name="summary_fr", | ||
field=models.TextField(blank=True, max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="course", | ||
name="title_es", | ||
field=models.CharField(max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="course", | ||
name="title_fr", | ||
field=models.CharField(max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="program", | ||
name="summary_es", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="program", | ||
name="summary_fr", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="program", | ||
name="title_es", | ||
field=models.CharField(max_length=150, null=True, unique=True), | ||
), | ||
migrations.AddField( | ||
model_name="program", | ||
name="title_fr", | ||
field=models.CharField(max_length=150, null=True, unique=True), | ||
), | ||
migrations.AddField( | ||
model_name="upload", | ||
name="title_es", | ||
field=models.CharField(max_length=100, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="upload", | ||
name="title_fr", | ||
field=models.CharField(max_length=100, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="uploadvideo", | ||
name="summary_es", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="uploadvideo", | ||
name="summary_fr", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="uploadvideo", | ||
name="title_es", | ||
field=models.CharField(max_length=100, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="uploadvideo", | ||
name="title_fr", | ||
field=models.CharField(max_length=100, null=True), | ||
), | ||
] |
105 changes: 105 additions & 0 deletions
105
quiz/migrations/0003_choice_choice_es_choice_choice_fr_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,105 @@ | ||
# Generated by Django 4.2.16 on 2024-09-29 13:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("quiz", "0002_choice_choice_en_choice_choice_ru_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="choice", | ||
name="choice_es", | ||
field=models.CharField( | ||
help_text="Enter the choice text that you want displayed", | ||
max_length=1000, | ||
null=True, | ||
verbose_name="Content", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="choice", | ||
name="choice_fr", | ||
field=models.CharField( | ||
help_text="Enter the choice text that you want displayed", | ||
max_length=1000, | ||
null=True, | ||
verbose_name="Content", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="question", | ||
name="content_es", | ||
field=models.CharField( | ||
help_text="Enter the question text that you want displayed", | ||
max_length=1000, | ||
null=True, | ||
verbose_name="Question", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="question", | ||
name="content_fr", | ||
field=models.CharField( | ||
help_text="Enter the question text that you want displayed", | ||
max_length=1000, | ||
null=True, | ||
verbose_name="Question", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="question", | ||
name="explanation_es", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Explanation to be shown after the question has been answered.", | ||
max_length=2000, | ||
null=True, | ||
verbose_name="Explanation", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="question", | ||
name="explanation_fr", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Explanation to be shown after the question has been answered.", | ||
max_length=2000, | ||
null=True, | ||
verbose_name="Explanation", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="quiz", | ||
name="description_es", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="A detailed description of the quiz", | ||
null=True, | ||
verbose_name="Description", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="quiz", | ||
name="description_fr", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="A detailed description of the quiz", | ||
null=True, | ||
verbose_name="Description", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="quiz", | ||
name="title_es", | ||
field=models.CharField(max_length=60, null=True, verbose_name="Title"), | ||
), | ||
migrations.AddField( | ||
model_name="quiz", | ||
name="title_fr", | ||
field=models.CharField(max_length=60, null=True, verbose_name="Title"), | ||
), | ||
] |
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
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