-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add fixed usd pricing course run level (#4392)
- Loading branch information
1 parent
cc6e734
commit 733ad88
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
course_discovery/apps/course_metadata/migrations/0344_courserun_fixed_price_usd_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,23 @@ | ||
# Generated by Django 4.2.14 on 2024-07-26 11:00 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('course_metadata', '0343_alter_program_taxi_form'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='courserun', | ||
name='fixed_price_usd', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='The fixed USD price for course runs to minimize the impact of currency fluctuations.', max_digits=10, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcourserun', | ||
name='fixed_price_usd', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='The fixed USD price for course runs to minimize the impact of currency fluctuations.', max_digits=10, 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