1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/project/urls.py

14 lines
477 B
Python

from django.conf.urls import include, url
from django.contrib import admin
from project.pages.views import Custom404View, NoJavascriptView
urlpatterns = [
url(r'^site-admin/', include(admin.site.urls)),
url(r'^404/', Custom404View.as_view(), name="404"),
url(r'^404/', Custom404View.as_view(), name="404"),
url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"),
url(r'', include('project.pages.urls', namespace='pages'))
]
handler404 = Custom404View