mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-03-16 22:10:31 +00:00
docs: add optional flags for update_translation_fields command
This commit is contained in:
parent
bce5b6b015
commit
1f06f49383
1 changed files with 10 additions and 0 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue