-
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.
- Loading branch information
Showing
5 changed files
with
69 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.2 on 2023-10-31 14:06 | ||
|
||
from django.db import migrations | ||
import wagtail.images.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apps_images', '0005_auto_20231025_1401'), | ||
] | ||
|
||
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'), | ||
), | ||
] |
39 changes: 39 additions & 0 deletions
39
apps/measures/migrations/0014_alter_measuresdetailpage_districts_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,39 @@ | ||
# Generated by Django 4.2 on 2023-10-31 14:16 | ||
|
||
from django.db import migrations | ||
import multiselectfield.db.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apps_measures', '0013_alter_measuresdetailpage_inclusive_shaping_of_urban_life'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='measuresdetailpage', | ||
name='districts', | ||
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'citywide'), ('2', 'Charlottenburg-Wilmersdorf'), ('3', 'Friedrichshain-Kreuzberg'), ('4', 'Lichtenberg'), ('5', 'Marzahn-Hellersdorf'), ('6', 'Mitte'), ('7', 'Neukölln'), ('8', 'Pankow'), ('9', 'Reinickendorf'), ('10', 'Spandau'), ('11', 'Steglitz-Zehlendorf'), ('12', 'Tempelhof-Schöneberg'), ('13', 'Treptow-Köpenick')], help_text='Up to 3 choices are allowed.', max_length=120), | ||
), | ||
migrations.AlterField( | ||
model_name='measuresdetailpage', | ||
name='facilitative_administration', | ||
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'Effective Administrative Processes'), ('2', 'Transparent and Innovative Procurement'), ('3', 'Intelligent Data Use'), ('4', 'Fail-Safe Critical and Digital Infrastructure')], max_length=120), | ||
), | ||
migrations.AlterField( | ||
model_name='measuresdetailpage', | ||
name='future_opportunities_for_all', | ||
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'Capacities for Change'), ('2', 'Meeting and Learning Places'), ('3', 'Liveable Urban Development'), ('4', 'Smart Cities Learning Together')], max_length=120), | ||
), | ||
migrations.AlterField( | ||
model_name='measuresdetailpage', | ||
name='inclusive_shaping_of_urban_life', | ||
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'Participatory Governance'), ('2', 'Transparent Decision Processes'), ('3', 'Citizen Services'), ('4', 'Digital Citizens Rights and Privacy')], max_length=120), | ||
), | ||
migrations.AlterField( | ||
model_name='measuresdetailpage', | ||
name='regenerative_management', | ||
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'Smart Economic Models'), ('2', 'IT Ecosystems'), ('3', 'Smart Capital Region'), ('4', 'Regeneration of Natural Resources')], max_length=120), | ||
), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
### Updated | ||
|
||
- Django from 3.2.19 to 4.0 | ||
- Django from 3.2.19 to 4.0 | ||
- apps: remove deprecated app config in apps init | ||
- settings: LN10N is now enabled by default | ||
- templates: ifequal not supported | ||
|
||
- Django from 4.0 to 4.1 | ||
- apps: added max_length in multiselectfield to fix index error with | ||
validators[0]=MaxValueMultiFieldValidator(self.max_length) |
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