Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
3a1a68d0
Commit
3a1a68d0
authored
Sep 23, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document Django 1.7 upgrading (bug #526)
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
df507519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
docs/admin/upgrade.rst
docs/admin/upgrade.rst
+31
-0
No files found.
docs/admin/upgrade.rst
View file @
3a1a68d0
...
@@ -14,6 +14,11 @@ Generic upgrade instructions
...
@@ -14,6 +14,11 @@ Generic upgrade instructions
Since version 1.2 the migration is done using South module, to upgrade to 1.2,
Since version 1.2 the migration is done using South module, to upgrade to 1.2,
please see :ref:`version-specific-instructions`.
please see :ref:`version-specific-instructions`.
.. versionchanged:: 1.9
Since version 1.9, Weblate also supports Django 1.7 migrations, please check
:ref:`django-17` for more information.
Before upgrading, please check current :ref:`requirements` as they might have
Before upgrading, please check current :ref:`requirements` as they might have
changed.
changed.
...
@@ -159,6 +164,32 @@ Several internal modules and paths have been renamed and changed, please adjust
...
@@ -159,6 +164,32 @@ Several internal modules and paths have been renamed and changed, please adjust
your :file:`settings.py` to match that (consult :file:`settings_example.py` for
your :file:`settings.py` to match that (consult :file:`settings_example.py` for
correct values).
correct values).
.. seealso::
If you are upgrading to Django 1.7 in same step, please consult
:ref:`django-17`.
.. _django-17:
Upgrading to Django 1.7
-----------------------
Please adjust your :file:`settings.py` to match several changes in the
configuration (consult :file:`settings_example.py` for correct values).
Django 1.7 has a new feature to handle database schema upgrade called
"migrations" which is incompatible with South (used before by Weblate).
Before migrating to Django 1.7, you first need to apply all migrations from
South. If you already have upgraded Django to 1.7, you can do this using
virtualenv and :file:`examples/migrate-south` script:
.. code-block:: sh
examples/migrate-south --settings weblate.settings
Once you have done that, you can run Django 1.7 migrations and work as usual.
.. _pootle-migration:
.. _pootle-migration:
Migrating from Pootle
Migrating from Pootle
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment