Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
hannseman committed Jan 31, 2013
1 parent 2be0ba4 commit fb02052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -58,6 +58,7 @@ The Enum-class provides the possibility to use transition validation.
These transitions state that a PersonStatus can only go to DEAD from ALIVE and to REANIMATED from DEAD.

.. code:: python
person = Person.objects.create(status=PersonStatus.ALIVE)
try:
person.status = PersonStatus.REANIMATED
Expand Down

0 comments on commit fb02052

Please sign in to comment.