Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

8.0.0

Compare
Choose a tag to compare
@cmc333333 cmc333333 released this 26 Jul 15:28
· 75 commits to master since this release

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 just regulations)
  • Add notice_comment to your INSTALLED_APPS in the Django settings
  • Mount the N&C urls either by directly including notice_comment.urls or by deferring to regulations.all_urls
  • Migrate your database. Note the potential for data loss above!