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

20 lines
946 B
Python
Raw Normal View History

2015-10-19 13:04:49 +01:00
from django.conf.urls import include, url
from django_client_reverse import urls as reverse_urls
2016-01-26 18:25:20 +00:00
from project.pages.views.core 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'^reverse/$', include(reverse_urls, namespace='reverser')),
2015-11-25 08:31:17 +00:00
url(r'^404/', Custom404View.as_view(), name="404"),
url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"),
url(r'^about/', include('project.pages.urls.about', namespace='about')),
2016-01-31 19:08:46 +00:00
url(r'^college/', include('project.pages.urls.college', namespace='college')),
url(r'^core/', include('project.pages.urls.core', namespace='core')),
url(r'^projects/', include('project.pages.urls.projects', namespace='projects')),
url(r'^robotics/', include('project.pages.urls.robotics', namespace='robotics')),
2016-02-20 19:27:18 +00:00
url(r'^blog/', include('project.blog.urls', namespace='blog')),
url(r'', include('project.pages.urls.core', namespace='pages'))
2015-10-19 13:04:49 +01:00
]
# handler404 = Custom404View