Permalink
Browse files

Update README.rst

  • Loading branch information...
1 parent 6202acc commit eb1b9310085410d072289bfcd76e7bb59cb55135 bladmorv committed Feb 7, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.rst
View
@@ -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.

0 comments on commit eb1b931

Please sign in to comment.