Skip to content

Commit

Permalink
Documentation for new migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Oct 12, 2012
1 parent 7091131 commit e35d6f8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ This document refers to version |release|
Install
*******

.. warning::
In version 2.4 migrations have been completely rewritten to fix issues
with newer south releases.
If upgrading from prior 2.3.2 releases, please refer to
:ref:`migrations-upgrade`


.. toctree::
:maxdepth: 1

Expand All @@ -24,6 +31,7 @@ Install
upgrade/2.2
upgrade/2.1


***************
Getting Started
***************
Expand Down
25 changes: 22 additions & 3 deletions docs/upgrade/2.4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,34 @@ The following settings are not needed any more and have been removed:
Please remove them from your settings.py


.. _migrations-upgrade:

Migrations overhaul
===================
In version 2.4 migrations have been completely rewritten to fix issues with
newer South releases.

To ease upgrading process migration numbering and naming have not been changed,
but only the first one for each application has actual migration code, so it's of
utmost importance that you have an up to date migration history.

To ensure this, when upgrading from 2.3.1 and older releases, please upgrate to
2.3.3 first, execute all the migrations and then move to 2.4.

For the two step upgrade process do the following in your project main directory ::

pip install django-cms==2.3.3
python manage.py syncdb
python manage.py migrate
pip install django-cms==2.4


CMS_FLAT_URLS
=============

Was marked deprecated in 2.3 and has now been removed.




..
Feature description
Expand All @@ -151,7 +171,6 @@ If you are running django 1.3.X you need to install django-i18nurls, if you want
multilingual features. The cms.urls needs to be in a i18n url pattern.



********************
Pending deprecations
********************
Expand Down

0 comments on commit e35d6f8

Please sign in to comment.