1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[1.8.x] Sorted imports with isort; refs #23860.

Backport of 0ed7d15563 from master
This commit is contained in:
Tim Graham
2015-02-09 13:19:34 -05:00
parent eb406aa686
commit a8b70d251d
819 changed files with 2631 additions and 2401 deletions

View File

@@ -5,7 +5,6 @@ from datetime import datetime
from django.test import TestCase, override_settings
FULL_RESPONSE = 'Test conditional get response'
LAST_MODIFIED = datetime(2007, 10, 21, 23, 21, 47)
LAST_MODIFIED_STR = 'Sun, 21 Oct 2007 23:21:47 GMT'

View File

@@ -2,7 +2,6 @@ from django.conf.urls import url
from . import views
urlpatterns = [
url('^condition/$', views.index),
url('^condition/last_modified/$', views.last_modified_view1),

View File

@@ -1,7 +1,7 @@
from django.views.decorators.http import condition, etag, last_modified
from django.http import HttpResponse
from django.views.decorators.http import condition, etag, last_modified
from .tests import FULL_RESPONSE, LAST_MODIFIED, ETAG
from .tests import ETAG, FULL_RESPONSE, LAST_MODIFIED
def index(request):