-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Django to 4.2 and related packages for compatibility
* We have to declare `max_length` on `Survey.data_type` because of goinnn/django-multiselectfield#131 * `url` has been removed and replaced by `re_path * The migration was auto-generated, I'm not completely sure by what.
- Loading branch information
Showing
8 changed files
with
177 additions
and
114 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
home/migrations/0065_alter_customrendition_file_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,45 @@ | ||
# Generated by Django 4.2.9 on 2024-01-12 21:05 | ||
|
||
import modelcluster.fields | ||
import wagtail.images.models | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("auth", "0012_alter_user_first_name_max_length"), | ||
("home", "0064_auto_20231208_1551"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="customrendition", | ||
name="file", | ||
field=wagtail.images.models.WagtailImageField( | ||
height_field="height", | ||
storage=wagtail.images.models.get_rendition_storage, | ||
upload_to=wagtail.images.models.get_rendition_upload_to, | ||
width_field="width", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="publicationpermissions", | ||
name="groups_with_brief_permission", | ||
field=modelcluster.fields.ParentalManyToManyField( | ||
blank=True, | ||
help_text='Group that has permission to perform the "Publish" action on Brief pages. Only superusers and users that are members of the group selected here may do so, otherwise reports must go through the applicable workflow.', | ||
related_name="+", | ||
to="auth.group", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="publicationpermissions", | ||
name="groups_with_report_permission", | ||
field=modelcluster.fields.ParentalManyToManyField( | ||
blank=True, | ||
help_text='Group that has permission to perform the "Publish" action on Report pages. Only superusers and users that are members of the group selected here may do so, otherwise reports must go through the applicable workflow.', | ||
related_name="+", | ||
to="auth.group", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.