Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 26, 2024
1 parent feb3a13 commit 2226740
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 15 deletions.
1 change: 0 additions & 1 deletion cms/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class CoursePageFactory(wagtail_factories.PageFactory):
min_weeks = fuzzy.FuzzyInteger(1, 300)
max_weeks = fuzzy.FuzzyInteger(1, 300)


class Meta:
model = CoursePage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,45 @@


class Migration(migrations.Migration):

dependencies = [
('cms', '0039_coursepage_max_weekly_hours_and_more'),
("cms", "0039_coursepage_max_weekly_hours_and_more"),
]

operations = [
migrations.AddField(
model_name='coursepage',
name='max_weeks',
field=models.SmallIntegerField(blank=True, help_text='The maximum number of weeks required to complete the course/program.', null=True),
model_name="coursepage",
name="max_weeks",
field=models.SmallIntegerField(
blank=True,
help_text="The maximum number of weeks required to complete the course/program.",
null=True,
),
),
migrations.AddField(
model_name='coursepage',
name='min_weeks',
field=models.SmallIntegerField(blank=True, help_text='The minimum number of weeks required to complete the course/program.', null=True),
model_name="coursepage",
name="min_weeks",
field=models.SmallIntegerField(
blank=True,
help_text="The minimum number of weeks required to complete the course/program.",
null=True,
),
),
migrations.AddField(
model_name='programpage',
name='max_weeks',
field=models.SmallIntegerField(blank=True, help_text='The maximum number of weeks required to complete the course/program.', null=True),
model_name="programpage",
name="max_weeks",
field=models.SmallIntegerField(
blank=True,
help_text="The maximum number of weeks required to complete the course/program.",
null=True,
),
),
migrations.AddField(
model_name='programpage',
name='min_weeks',
field=models.SmallIntegerField(blank=True, help_text='The minimum number of weeks required to complete the course/program.', null=True),
model_name="programpage",
name="min_weeks",
field=models.SmallIntegerField(
blank=True,
help_text="The minimum number of weeks required to complete the course/program.",
null=True,
),
),
]

0 comments on commit 2226740

Please sign in to comment.