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:
authorCode Raguet <ignacio.code@gmail.com>2013-09-26 16:09:37 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-26 16:09:37 (GMT)
commita5ffd91bf5d17ee5b3bbfc271c96d9b8aa8886ea (patch)
tree4d833dc14839d2d180d03efef3fd1be7b7e7ebef /webapp/polls/exceptions.py
parent04523d828911893ad8299bfd3ef661063c3afb8d (diff)
parentdcda2d37e96c38f435aa30839cbf8806a4c26900 (diff)
Merge branch 'DEV'v4.21
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