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

Commit

Permalink
Update version to 8.0.0.
Browse files Browse the repository at this point in the history
In 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!
  • Loading branch information
cmc333333 committed Jul 26, 2017
1 parent 9a95fa2 commit 504c7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="regulations",
version="7.1.0",
version="8.0.0",
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand Down

0 comments on commit 504c7b3

Please sign in to comment.