-
Notifications
You must be signed in to change notification settings - Fork 16
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
7 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
adhocracy4/maps/migrations/0003_alter_areasettings_module.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,23 @@ | ||
# Generated by Django 4.0 on 2023-11-07 15:26 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("a4modules", "0008_alter_module_blueprint_type"), | ||
("a4maps", "0002_change_help_text"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="areasettings", | ||
name="module", | ||
field=models.OneToOneField( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(class)s_settings", | ||
to="a4modules.module", | ||
), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
adhocracy4/modules/migrations/0008_alter_module_blueprint_type.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,20 @@ | ||
# Generated by Django 4.0 on 2023-11-07 15:26 | ||
|
||
import adhocracy4.modules.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("a4modules", "0007_verbose_name_created_modified"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="module", | ||
name="blueprint_type", | ||
field=adhocracy4.modules.fields.BlueprintTypeField( | ||
blank=True, choices=[], max_length=255 | ||
), | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
adhocracy4/projects/migrations/0040_alter_project_topics.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.0 on 2023-11-07 15:26 | ||
|
||
import adhocracy4.projects.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("a4projects", "0039_add_alt_text_to_field"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="project", | ||
name="topics", | ||
field=adhocracy4.projects.fields.TopicField( | ||
choices=[ | ||
("ANT", "Anti-discrimination"), | ||
("WOR", "Work & economy"), | ||
("BUI", "Building & living"), | ||
], | ||
default="", | ||
help_text="Add topics to your project.", | ||
max_length=254, | ||
verbose_name="Project topics", | ||
), | ||
), | ||
] |
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,4 @@ | ||
### Upgraded | ||
|
||
- Django from 3.2.20 to 4.0 | ||
- added migrations for 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
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,20 @@ | ||
# Generated by Django 4.0 on 2023-11-07 15:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("a4labels", "0003_labelalias"), | ||
("a4test_ideas", "0005_idea_is_bool_test"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="idea", | ||
name="labels", | ||
field=models.ManyToManyField( | ||
related_name="%(app_label)s_%(class)s_label", to="a4labels.Label" | ||
), | ||
), | ||
] |
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