Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.rst

  • Loading branch information...
commit eb1b9310085410d072289bfcd76e7bb59cb55135 1 parent 6202acc
bladmorv authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.rst
View
4 README.rst
@@ -36,6 +36,10 @@ a specific object as well as all its dependencies (as defined by ForeignKeys).
./manage.py dump_object APP.MODEL PK1 PK2 PK3 ... > my_new_fixture.json
+Or you can get all objects with all dependencies:
+
+ ./manage.py dump_object APP.MODEL * > my_new_fixture.json
+
You can now safely load ``my_new_fixture.json`` in a test without foreign key i
errors.
Please sign in to comment.
Something went wrong with that request. Please try again.