Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-09-25 21:54:58 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-25 21:54:58 (GMT)
commitb118f6619c97906106edb9bca4162b0fe1898bb5 (patch)
tree507c53406b75d4dc1927d9bc71bc67db2cae978d /webapp
parent5a546dd2c6cf80c1e3eca43dfe9bf38c5d014f4e (diff)
ReadOnly exception class
Diffstat (limited to 'webapp')
-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