This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
8.0.0
Some of the Notice-and-Comment functionality has been split into a separate Django app. This should significantly reduce the dependencies of down-stream applications which don't use that feature.
Warning of data loss
The "FailedCommentSubmission" model has moved from regulations
to notice_comment
without a corresponding data migration. If this data is important, please export it before running migrations. Alternatively, you may run only the notice_comment
migrations, manually transfer the data, then run the regulations
migrations.
Upgrade steps
If your app does not need Notice-and-Comment, no changes are needed.
If your app does include N&C, you will need to:
- Add
regulations[notice_comment]
as a Python requirement (rather than justregulations
) - Add
notice_comment
to yourINSTALLED_APPS
in the Django settings - Mount the N&C urls either by directly including
notice_comment.urls
or by deferring toregulations.all_urls
- Migrate your database. Note the potential for data loss above!