diff --git a/django/views/generic/date_based.py b/django/views/generic/date_based.py index 6e6cff5872d..1a8c4c611a1 100644 --- a/django/views/generic/date_based.py +++ b/django/views/generic/date_based.py @@ -1,9 +1,11 @@ +import datetime +import time + from django.template import loader, RequestContext from django.core.exceptions import ObjectDoesNotExist from django.core.xheaders import populate_xheaders from django.db.models.fields import DateTimeField from django.http import Http404, HttpResponse -import datetime, time def archive_index(request, queryset, date_field, num_latest=15, template_name=None, template_loader=loader,