summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorankitjavalkar2018-04-06 15:37:31 +0530
committerankitjavalkar2018-04-06 15:49:01 +0530
commit3847021649a1abc2a7ccf589759aee9a84f2915d (patch)
treeec9d8dd211296c22a0b3d731bc03c6267fa8cdb8 /yaksh
parentef5f9a8029ec19d0a039fff821106651aea9c426 (diff)
downloadonline_test-3847021649a1abc2a7ccf589759aee9a84f2915d.tar.gz
online_test-3847021649a1abc2a7ccf589759aee9a84f2915d.tar.bz2
online_test-3847021649a1abc2a7ccf589759aee9a84f2915d.zip
Remove unused render_to_response imports in views and decorators
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/decorators.py2
-rw-r--r--yaksh/views.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/decorators.py b/yaksh/decorators.py
index 0234f2f..4b886a3 100644
--- a/yaksh/decorators.py
+++ b/yaksh/decorators.py
@@ -1,4 +1,4 @@
-from django.shortcuts import render, render_to_response, redirect
+from django.shortcuts import render, redirect
from django.conf import settings
from django.template import RequestContext
diff --git a/yaksh/views.py b/yaksh/views.py
index ad13af1..f8fd67f 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -7,7 +7,7 @@ import csv
from django.http import HttpResponse, JsonResponse
from django.core.urlresolvers import reverse
from django.contrib.auth import login, logout, authenticate
-from django.shortcuts import render_to_response, render, get_object_or_404, redirect
+from django.shortcuts import render, get_object_or_404, redirect
from django.template import RequestContext, Context, Template
from django.template.loader import get_template, render_to_string
from django.http import Http404