def test_year_month_day_format(self):
        author = Author.objects.create(name="John Smith")
        article = Article.objects.create(title="example", author=author, date_created=datetime(2004, 1, 21, 0, 0, 1))
        response = self.client.get('/views/date_based/archive_day/2004/1/21/')
        self.assertEqual(response.status_code, 200)
        self.assertEqual(response.context['object_list'][0], article)
XAccelRedirectMiddleware in settings triggers ImproperlyConfigured.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/views/tests/generic/date_based.py/DayArchiveTests.test_year_month_day_format--crossover with--dataset/ETHPy150Open benoitbryon/django-downloadview/tests/api.py/DeprecatedAPITestCase.test_nginx_x_accel_redirect_middleware