forked from openedx/course-discovery
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add a additional language in the courserun API model. (#89)
Co-authored-by: anas.hameed <anas.hameed@arbisoft.com>
- Loading branch information
1 parent
4936d1a
commit 0e07fb5
Showing
6 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
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
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
23 changes: 23 additions & 0 deletions
23
course_discovery/apps/course_metadata/migrations/0272_auto_20240830_1141.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,23 @@ | ||
# Generated by Django 2.2.16 on 2024-08-30 11:41 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('course_metadata', '0271_auto_20240521_1154'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='courserun', | ||
name='course_language', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Language of the course run'), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcourserun', | ||
name='course_language', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Language of the course run'), | ||
), | ||
] |
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