Skip to content

Commit d9cc381

Browse files
committed
Added populate command to quickstart documentation
1 parent 9bc5340 commit d9cc381

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/usage.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ If you do not want to use the middleware, you can explicitly indicate
6161
the user making the change as indicated in the advanced usage
6262
documentation.
6363

64+
For existing projects, you can call the populate command to generate an
65+
initial change for preexisting model instances:
66+
67+
.. code-block:: bash
68+
69+
$ python manage.py populate_history --auto
70+
6471
.. _admin_integration:
6572

6673
Integration with Django Admin

0 commit comments

Comments
 (0)