Skip to content

Commit

Permalink
Cross-link admin integration to user tracking
Browse files Browse the repository at this point in the history
Fixes gh-43.
  • Loading branch information
treyhunner committed Feb 7, 2014
1 parent 7490633 commit 19d4069
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ third-party apps you don't have control over. Here's an example of using
register(User)
.. _recording_user:

Recording Which User Changed a Model
------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ An example of admin integration for the ``Poll`` and ``Choice`` models:
admin.site.register(Poll, SimpleHistoryAdmin)
admin.site.register(Choice, SimpleHistoryAdmin)
Changing a history-tracked model from the admin interface will automatically record the user who made the change (see :ref:`recording_user`).


Querying history
----------------
Expand Down

0 comments on commit 19d4069

Please sign in to comment.