mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 21:26:02 +00:00
WIP: Add custom 403 and 404, but break a bit the permissions! To be fixed
This commit is contained in:
1 parent
6cc7851487
commit
aa732a4ec0
4 files changed
+44
-5
No files matched your search
@@ -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