docs: add optional flags for update_translation_fields command

This commit is contained in:
Lyndsy Simon 2021-03-10 13:50:40 -06:00
parent bce5b6b015
commit 1f06f49383

View file

@ -41,6 +41,16 @@ in ``settings.py``.
All translated models (as specified in the translation files) from all apps will be
populated with initial data.
Optionally, an app label and model name may be passed to populate only a subset
of translated models.
.. code-block:: console
$ python manage.py update_translation_fields myapp
.. code-block:: console
$ python manage.py update_translation_fields myapp mymodel
.. _commands-sync_translation_fields: