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

15 lines
477 B
Python
Raw Normal View History

2015-10-19 13:04:49 +01:00
from django.conf.urls import include, url
from django.contrib import admin
2015-11-25 08:31:17 +00:00
from project.pages.views import Custom404View, NoJavascriptView
2015-10-19 13:04:49 +01:00
2015-11-24 22:39:07 +00:00
2015-10-19 13:04:49 +01:00
urlpatterns = [
url(r'^site-admin/', include(admin.site.urls)),
2015-11-25 08:31:17 +00:00
url(r'^404/', Custom404View.as_view(), name="404"),
2015-11-25 19:39:11 +00:00
url(r'^404/', Custom404View.as_view(), name="404"),
2015-11-25 08:31:17 +00:00
url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"),
2015-10-19 13:04:49 +01:00
url(r'', include('project.pages.urls', namespace='pages'))
]
2015-11-23 18:50:14 +00:00
handler404 = Custom404View