8000 Added 'how to upgrade' section to release notes by evildmp · Pull Request #6234 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

Added 'how to upgrade' section to release notes #6234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/upgrade/3.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,34 @@ Backward-incompatible changes
``parent_page`` attribute, which relies on the node tree.
* 8729 Never-published pages can no longer have a 'pending' publishing state. A data migration,
``cms/migrations/0018_pagenode.py``, removes this.
* Using ``self.request.path`` or ``self.request.path_info`` in a ``CMSToolbar`` subclass method is
no longer reliable and is discouraged. Instead, use ``self.toolbar.request_path``.


*********************
How to upgrade to 3.5
*********************

We assume you are upgrading from django CMS 3.4.

Please make sure that your current database is consistent and in a healthy
state, and **make a copy of the database before proceeding further.**

Then run::

python manage.py migrate # to ensure that your database is up-to-date with migrations
python manage.py cms fix-tree

Check custom code and third-party applications for use of deprecated or removed functionality or
APIs (see above). Some third-party components may need to be updated.

Install the new version of django CMS from GitHub.

Run::

python manage.py migrate

to apply the new migrations.


****************************
Expand Down
0