From 67bf7650f1738a18a2888cfd2288bae930b10abb Mon Sep 17 00:00:00 2001 From: Davide Date: Sun, 28 Apr 2019 18:49:22 +0200 Subject: [PATCH] Update installation doc syncdb command is deprecated in django 1.7. Use the python manage.py migrate instead. --- docs/modeltranslation/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modeltranslation/installation.rst b/docs/modeltranslation/installation.rst index 647ee09..7937798 100644 --- a/docs/modeltranslation/installation.rst +++ b/docs/modeltranslation/installation.rst @@ -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`.