diff options
author | Code 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) |
commit | b118f6619c97906106edb9bca4162b0fe1898bb5 (patch) | |
tree | 507c53406b75d4dc1927d9bc71bc67db2cae978d /webapp | |
parent | 5a546dd2c6cf80c1e3eca43dfe9bf38c5d014f4e (diff) |
ReadOnly exception class
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/polls/exceptions.py | 5 |
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 |