-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add external course id fields and enhance admin models (#3006)
* feat: add external course id fields and enhance admin models * feat: add migration * feat: add blank true
- Loading branch information
1 parent
dd5b14d
commit 1e4e48a
Showing
3 changed files
with
33 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
22 changes: 22 additions & 0 deletions
22
courses/migrations/0039_add_external_course_id_and_course_run_id.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 4.2.13 on 2024-06-07 10:29 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("courses", "0038_alter_certificate_page_revision"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="course", | ||
name="external_course_id", | ||
field=models.CharField(blank=True, default="", max_length=255), | ||
), | ||
migrations.AddField( | ||
model_name="courserun", | ||
name="external_course_run_id", | ||
field=models.CharField(blank=True, default="", max_length=255), | ||
), | ||
] |
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