Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
EhsanSafir committed Sep 14, 2021
1 parent d223c8f commit c8a65ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Export data:

.. code-block:: bash
./manage.py dumpdata_one app_name.model_name --fields=field1,field2 > dump_file.json
./manage.py dumpdata_advance app_name.model_name --fields=field1,field2 > dump_file.json
Import data:
Expand All @@ -47,9 +47,9 @@ lookups - https://docs.djangoproject.com/en/3.0/topics/db/queries/#field-lookups

.. code-block:: bash
./manage.py dumpdata_one app_name.model_name --fields=field1 --filter=name__icontains=django
./manage.py dumpdata_advance app_name.model_name --fields=field1 --filter=name__icontains=django
./manage.py dumpdata_one app_name.model_name --fields=field1 --filter=name__icontains=django,pk__gt=300
./manage.py dumpdata_advance app_name.model_name --fields=field1 --filter=name__icontains=django,pk__gt=300
Set order by:

Expand Down

0 comments on commit c8a65ac

Please sign in to comment.