Skip to content

Commit

Permalink
Merge 4f48f67 into d5ca517
Browse files Browse the repository at this point in the history
  • Loading branch information
bjdixon committed Apr 14, 2014
2 parents d5ca517 + 4f48f67 commit d12344c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
Binary file added docs/screens/1_poll_history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screens/2_revert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screens/3_poll_reverted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screens/4_history_after_poll_reverted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ This will replace the history object page on the admin site and allow viewing
and reverting to previous model versions. Changes made in admin change forms
will also accurately note the user who made the change.

.. image:: screens/1_poll_history.png

Clicking on an object presents the option to revert to that version of the object.

.. image:: screens/2_revert.png

(The object is reverted to the selected state)

.. image:: screens/3_poll_reverted.png

Reversions like this are added to the history.

.. image:: screens/4_history_after_poll_reverted.png

An example of admin integration for the ``Poll`` and ``Choice`` models:

.. code-block:: python
Expand Down

0 comments on commit d12344c

Please sign in to comment.