Update installation doc

syncdb command is deprecated in django 1.7. Use the python manage.py migrate instead.
This commit is contained in:
Davide 2019-04-28 18:49:22 +02:00 committed by GitHub
parent 18fec04a51
commit 67bf7650f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ in detail in the following sections:
4. Create a ``translation.py`` in your app directory and register
``TranslationOptions`` for every model you want to translate.
5. Sync the database using ``python manage.py syncdb``.
5. Sync the database using ``python manage.py makemigrations`` and ``python manage.py migrate``.
.. note:: This only applies if the models registered in ``translation.py`` haven't been
synced to the database before. If they have, please read :ref:`db-fields`.