You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
754 B

from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course', '0009_alter_course_description_and_more'),
]
operations = [
migrations.AddField(
model_name='course',
name='final_price_rub',
field=models.DecimalField(blank=True, decimal_places=2, default=0.0, help_text='This field is automatically calculated based on the discount percentage.', max_digits=10, verbose_name='Course Final Price (RUB)'),
),
migrations.AddField(
model_name='course',
name='price_rub',
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=10, verbose_name='Course Price (RUB)'),
),
]