mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user