generated from commonknowledge/groundwork-starter-template
-
-
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.
Merge branch 'v2-flow-iterations-jan'
- Loading branch information
Showing
33 changed files
with
2,685 additions
and
1,945 deletions.
There are no files selected for viewing
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
88 changes: 88 additions & 0 deletions
88
app/migrations/0073_readingoption_remove_membershipplanpage_syllabi_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,88 @@ | ||
# Generated by Django 4.2 on 2024-01-15 16:51 | ||
|
||
import django.db.models.deletion | ||
import modelcluster.fields | ||
import wagtail.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0072_alter_customimage_file_alter_imagerendition_file_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="ReadingOption", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"sort_order", | ||
models.IntegerField(blank=True, editable=False, null=True), | ||
), | ||
("title", models.CharField(blank=True, max_length=150, null=True)), | ||
( | ||
"description", | ||
wagtail.fields.RichTextField( | ||
blank=True, | ||
help_text="Bullet points will appear as ticks.", | ||
null=True, | ||
), | ||
), | ||
( | ||
"interval", | ||
models.CharField( | ||
blank=True, | ||
choices=[ | ||
("year", "Year"), | ||
("month", "Month"), | ||
("week", "Week"), | ||
("day", "Day"), | ||
], | ||
default="month", | ||
max_length=10, | ||
), | ||
), | ||
("interval_count", models.IntegerField(blank=True, default=1)), | ||
( | ||
"banner_image", | ||
models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="app.customimage", | ||
), | ||
), | ||
], | ||
options={ | ||
"ordering": ["sort_order"], | ||
"abstract": False, | ||
}, | ||
), | ||
migrations.RemoveField( | ||
model_name="membershipplanpage", | ||
name="syllabi", | ||
), | ||
migrations.DeleteModel( | ||
name="SyllabusPage", | ||
), | ||
migrations.AddField( | ||
model_name="readingoption", | ||
name="plans", | ||
field=modelcluster.fields.ParentalManyToManyField( | ||
help_text="The plans available under this option", | ||
related_name="plans", | ||
to="app.membershipplanpage", | ||
), | ||
), | ||
] |
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,28 @@ | ||
# Generated by Django 4.2 on 2024-01-16 12:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0073_readingoption_remove_membershipplanpage_syllabi_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="membershipplanpage", | ||
name="book_types", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("classic", "classic"), | ||
("contemporary", "contemporary"), | ||
("all-books", "all-books"), | ||
], | ||
help_text="Which types of books are included in this plan? Used for displaying things.", | ||
max_length=150, | ||
null=True, | ||
), | ||
), | ||
] |
30 changes: 30 additions & 0 deletions
30
app/migrations/0075_alter_membershipplanprice_products_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,30 @@ | ||
# Generated by Django 4.2 on 2024-01-16 13:02 | ||
|
||
import modelcluster.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0074_membershipplanpage_book_types"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="membershipplanprice", | ||
name="products", | ||
field=modelcluster.fields.ParentalManyToManyField( | ||
blank=True, | ||
help_text="The stripe product that the user will be subscribed to.", | ||
to="app.lbcproduct", | ||
verbose_name="Stripe product", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="readingoption", | ||
name="title", | ||
field=models.CharField(default="", max_length=150), | ||
preserve_default=False, | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
app/migrations/0076_remove_membershipplanpage_benefits_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,28 @@ | ||
# Generated by Django 4.2 on 2024-01-16 14:56 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0075_alter_membershipplanprice_products_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="membershipplanpage", | ||
name="benefits", | ||
), | ||
migrations.RemoveField( | ||
model_name="membershipplanprice", | ||
name="benefits", | ||
), | ||
migrations.AlterField( | ||
model_name="readingoption", | ||
name="title", | ||
field=models.CharField( | ||
help_text="Visible to potential customers", max_length=150 | ||
), | ||
), | ||
] |
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,25 @@ | ||
# Generated by Django 4.2 on 2024-01-16 15:22 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0076_remove_membershipplanpage_benefits_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="membershipplanpage", | ||
name="product_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="app.customimage", | ||
), | ||
), | ||
] |
38 changes: 38 additions & 0 deletions
38
app/migrations/0078_membershipplanpage_background_image_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,38 @@ | ||
# Generated by Django 4.2 on 2024-01-16 15:37 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0077_membershipplanpage_product_image"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="membershipplanpage", | ||
name="background_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="1400 x 1024 optimal resolution.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="app.customimage", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="membershipplanpage", | ||
name="product_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="600 x 300 optimal resolution.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="app.customimage", | ||
), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
app/migrations/0079_membershipplanprice_skip_donation_ask.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,18 @@ | ||
# Generated by Django 4.2 on 2024-01-16 16:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("app", "0078_membershipplanpage_background_image_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="membershipplanprice", | ||
name="skip_donation_ask", | ||
field=models.BooleanField(blank=True, default=False, null=True), | ||
), | ||
] |
Oops, something went wrong.