From a5ffd91bf5d17ee5b3bbfc271c96d9b8aa8886ea Mon Sep 17 00:00:00 2001 From: Code Raguet Date: Thu, 26 Sep 2013 16:09:37 +0000 Subject: Merge branch 'DEV' --- (limited to 'webapp/polls/exceptions.py') diff --git a/webapp/polls/exceptions.py b/webapp/polls/exceptions.py index 76e1fa0..32262a1 100644 --- a/webapp/polls/exceptions.py +++ b/webapp/polls/exceptions.py @@ -4,3 +4,8 @@ class ValidationError(Exception): class UniqueNameError(Exception): pass + + +class ReadOnly(Exception): + """Exception when trying to write a read only object.""" + pass -- cgit v0.9.1