summaryrefslogtreecommitdiff
path: root/yaksh/decorators.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/decorators.py')
-rw-r--r--yaksh/decorators.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yaksh/decorators.py b/yaksh/decorators.py
index 4b886a3..81912f0 100644
--- a/yaksh/decorators.py
+++ b/yaksh/decorators.py
@@ -1,6 +1,5 @@
-from django.shortcuts import render, redirect
+from django.shortcuts import render
from django.conf import settings
-from django.template import RequestContext
# Local imports
from yaksh.forms import ProfileForm
@@ -50,4 +49,4 @@ def email_verified(func):
request, 'yaksh/activation_status.html', context
)
return func(request, *args, **kwargs)
- return is_email_verified \ No newline at end of file
+ return is_email_verified