custom test views repair
This commit is contained in:
@@ -53,7 +53,7 @@ TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
#INSTALLED_APPS += ['debug_toolbar',]
|
||||
INSTALLED_APPS += ['debug_toolbar',]
|
||||
|
||||
MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware',]
|
||||
|
||||
|
||||
@@ -25,14 +25,6 @@ from rowers import views as rowersviews
|
||||
|
||||
import django
|
||||
|
||||
from django.conf.urls import (
|
||||
handler400, handler403, handler404, handler500
|
||||
)
|
||||
|
||||
handler400 = 'rowers.views.error400_view'
|
||||
handler403 = 'rowers.views.error403_view'
|
||||
handler404 = 'rowers.views.error404_view'
|
||||
handler500 = 'rowers.views.error500_view'
|
||||
|
||||
import django.views.i18n
|
||||
|
||||
@@ -84,7 +76,8 @@ urlpatterns += [
|
||||
re_path(r'^twitter\_callback',rowersviews.rower_process_twittercallback),
|
||||
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('django-rq/', include('django_rq.urls')),
|
||||
path('500/', rowersviews.error500_view),
|
||||
# re_path(r'^jsi18n/', django.views.i18n.javascript_catalog,name='jsi18n'),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user