From 6bb75f1230ce9baf94ce0554769b97d4f598caa4 Mon Sep 17 00:00:00 2001 From: Akseli Nelander Date: Sat, 15 Sep 2018 13:28:52 +0200 Subject: [PATCH] docs: python 3 print --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 272de4a..6e18712 100644 --- a/README.rst +++ b/README.rst @@ -115,7 +115,7 @@ These transitions state that a PersonStatus can only go to DEAD from ALIVE and t person.status = PersonStatus.REANIMATED person.save() except InvalidStatusOperationError: - print "Person status can not go from ALIVE to REANIMATED" + print("Person status can not go from ALIVE to REANIMATED") The Enum-class can also be used without the EnumField. This is very useful in Django form ChoiceFields.