Skip to content
Snippets Groups Projects
urls.py 768 B
Newer Older
  • Learn to ignore specific revisions
  • from django.conf import settings
    
    Todd Dembrey's avatar
    Todd Dembrey committed
    from django.urls import include, path
    
    from .utils import views
    
    Todd Dembrey's avatar
    Todd Dembrey committed
    from .users import urls as users_urls
    
    from .dashboard import urls as dashboard_urls
    
    
    from opentech.urls import base_urlpatterns
    
    Dan Braghis's avatar
    Dan Braghis committed
        path('apply/', include('opentech.apply.funds.urls', 'apply')),
    
        path('activity/', include('opentech.apply.activity.urls', 'activity')),
    
    Todd Dembrey's avatar
    Todd Dembrey committed
        path('dashboard/', include(dashboard_urls)),
    
    Todd Dembrey's avatar
    Todd Dembrey committed
        path('hijack/', include('hijack.urls', 'hijack')),
    
    if settings.DEBUG:
        urlpatterns += [
            # Add views for testing 404 and 500 templates
            path('test404/', views.page_not_found),
        ]
    
    
    
    
    handler404 = 'opentech.apply.utils.views.page_not_found'