forked from breatheco-de/apiv2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4dd04a3
commit 9a1bbaa
Showing
5 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
breathecode/admissions/migrations/0065_cohort_cohorts_order_cohort_micro_cohorts.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,34 @@ | ||
# Generated by Django 5.1.2 on 2024-11-07 22:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("admissions", "0064_academy_legal_name"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="cohort", | ||
name="cohorts_order", | ||
field=models.CharField( | ||
blank=True, | ||
default=None, | ||
help_text="An IDs comma separated list to indicate the order in which the micro cohorts will be displayed", | ||
max_length=50, | ||
null=True, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="cohort", | ||
name="micro_cohorts", | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text="This cohorts will represent small courses inside a main course", | ||
related_name="cohorts", | ||
to="admissions.cohort", | ||
), | ||
), | ||
] |
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
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