Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/polls/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/polls/exceptions.py')
-rw-r--r--webapp/polls/exceptions.py5
1 files changed, 5 insertions, 0 deletions
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