summaryrefslogtreecommitdiffstats
path: root/askbot/exceptions.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-03-28 23:03:16 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-03-28 23:03:16 -0400
commit96a9863db21fc84af38ee28684807849ade25b97 (patch)
tree09d752e19aab3f4deb31d77ec68c2f12b48ace57 /askbot/exceptions.py
parent8ae8fcdc858af16e8f2d5ab87ae1a833cde52356 (diff)
downloadaskbot-96a9863db21fc84af38ee28684807849ade25b97.tar.gz
askbot-96a9863db21fc84af38ee28684807849ade25b97.tar.bz2
askbot-96a9863db21fc84af38ee28684807849ade25b97.zip
expanded range of supported versions of django and added patches for csrf_token
Diffstat (limited to 'askbot/exceptions.py')
-rw-r--r--askbot/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/askbot/exceptions.py b/askbot/exceptions.py
index a1d76a67..d2d5ddf0 100644
--- a/askbot/exceptions.py
+++ b/askbot/exceptions.py
@@ -1,6 +1,10 @@
from django.core import exceptions
from django.utils.translation import ugettext as _
+class DeploymentError(exceptions.ImproperlyConfigured):
+ """raised when there is some error with deployment"""
+ pass
+
class LoginRequired(exceptions.PermissionDenied):
"""raised when an operation required a logged
in user"""