-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apps/plans: fix topic migration failing without django-multiselectfield
- Loading branch information
Showing
2 changed files
with
26 additions
and
5 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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
### Added | ||
|
||
- settings: move A4_PROJECT_TOPICS to Enum class | ||
- settings: move A4_PROJECT_TOPICS to Enum class | ||
- apps/plans: topics as an m2m relation to plans, replacing django-multiselectfield | ||
- apps/projects: topics from TopicEnum, topic form and serializer for projects | ||
- **Breaking Change** Plan topics with a code longer than 3 chars will be dropped. | ||
If you need to keep them modify the check in | ||
`meinberlin/apps/plans/migratiosn/0059_migrate_topics_to_m2m_topics.py` or | ||
migrate them to shorter codes. Note: the max. possible length is still limited to 10. |
25 changes: 21 additions & 4 deletions
25
meinberlin/apps/plans/migrations/0059_migrate_topics_to_m2m_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