Newer
Older
from django.conf import settings
from .dashboard import urls as dashboard_urls
from opentech.urls import base_urlpatterns
path('activity/', include('opentech.apply.activity.urls', 'activity')),
path('', include(users_urls)),
path('hijack/', include('hijack.urls', 'hijack')),
if settings.DEBUG:
urlpatterns += [
# Add views for testing 404 and 500 templates
path('test404/', views.page_not_found),
]
urlpatterns += base_urlpatterns
handler404 = 'opentech.apply.utils.views.page_not_found'