mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-03-16 22:10:31 +00:00
Update installation doc
syncdb command is deprecated in django 1.7. Use the python manage.py migrate instead.
This commit is contained in:
parent
18fec04a51
commit
67bf7650f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue