mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
WIP: Add custom 403 and 404, but break a bit the permissions! To be fixed
This commit is contained in:
@ -16,6 +16,9 @@ Including another URLconf
|
||||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
|
||||
handler403 = "core.views.forbidden"
|
||||
handler404 = "core.views.not_found"
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^', include('core.urls', namespace="core", app_name="core")),
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
|
Reference in New Issue
Block a user