WIP: Add custom 403 and 404, but break a bit the permissions! To be fixed

This commit is contained in:
Skia
2015-12-07 17:23:52 +01:00
parent 6cc7851487
commit aa732a4ec0
4 changed files with 44 additions and 5 deletions

View File

@ -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)),