-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1478 from gustavomm19/marketing-cohorts
add cohort groups to marketing course
- Loading branch information
Showing
8 changed files
with
106 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
breathecode/marketing/migrations/0090_course_cohorts_group.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,24 @@ | ||
# Generated by Django 5.1.1 on 2024-10-21 14:03 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("admissions", "0064_academy_legal_name"), | ||
("marketing", "0089_activecampaignacademy_crm_vendor"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="course", | ||
name="cohorts_group", | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text="The student will be added to this cohorts when he buys the course", | ||
related_name="courses", | ||
to="admissions.cohort", | ||
), | ||
), | ||
] |
24 changes: 24 additions & 0 deletions
24
breathecode/marketing/migrations/0091_course_cohorts_order.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,24 @@ | ||
# Generated by Django 5.1.2 on 2024-11-01 13:03 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("marketing", "0090_course_cohorts_group"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="course", | ||
name="cohorts_order", | ||
field=models.CharField( | ||
blank=True, | ||
default=None, | ||
help_text="An IDs comma separated list to indicate the order in which cohorts in the cohort group will be displayed", | ||
max_length=50, | ||
null=True, | ||
), | ||
), | ||
] |
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
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