diff options
author | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-03-22 20:12:04 (GMT) |
---|---|---|
committer | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-03-25 21:51:48 (GMT) |
commit | ce733264e00cb470112149943c430e2494fd9e54 (patch) | |
tree | 4438c4afec4c38d648de10dbdae4462a68636d13 /webapp/polls/exceptions.py | |
parent | 60fe611a2860998fe7e4193592a56c1a60ce73aa (diff) |
Ensure mongodb indexes; Index: unique name for Poll
Diffstat (limited to 'webapp/polls/exceptions.py')
-rw-r--r-- | webapp/polls/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/polls/exceptions.py b/webapp/polls/exceptions.py index 15e676c..76e1fa0 100644 --- a/webapp/polls/exceptions.py +++ b/webapp/polls/exceptions.py @@ -1,2 +1,6 @@ class ValidationError(Exception): pass + + +class UniqueNameError(Exception): + pass |