Private
Public Access
1
0

Merge branch 'release/v9.75'

This commit is contained in:
Sander Roosendaal
2019-04-07 10:35:50 +02:00
3 changed files with 6 additions and 6 deletions

View File

@@ -38,9 +38,9 @@ class CustomErrorHandlerTests(TestCase):
self.assertEqual(response.status_code, 404)
self.assertIn('We could not find' ,str(response.content))
def test_handler_500(self):
response = self.c.get('/500/')
# Make assertions on the response here. For example:
self.assertEqual(response.status_code, 500)
self.assertIn('The site developer' ,str(response.content))
# def test_handler_500(self):
# response = self.c.get('/500/')
# # Make assertions on the response here. For example:
# self.assertEqual(response.status_code, 500)
# self.assertIn('The site developer' ,str(response.content))

Binary file not shown.

View File

@@ -77,7 +77,7 @@ urlpatterns += [
re_path(r'^i18n/', include('django.conf.urls.i18n')),
re_path(r'^tz_detect/', include('tz_detect.urls')),
path('django-rq/', include('django_rq.urls')),
path('500/', rowersviews.error500_view),
# path('500/', rowersviews.error500_view),
# re_path(r'^jsi18n/', django.views.i18n.javascript_catalog,name='jsi18n'),
]