1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

The beginning of transfer view

This commit is contained in:
Alexandre Iooss
2019-07-17 13:34:07 +02:00
parent 849bb71d5d
commit 7bafbeb93a
7 changed files with 97 additions and 37 deletions

View File

@ -7,8 +7,11 @@ from django.urls import path, include
from django.views.generic import RedirectView
urlpatterns = [
# No app, so redirect to admin
path('', RedirectView.as_view(pattern_name='admin:index'), name='index'),
# Dev so redirect to something random
path('', RedirectView.as_view(pattern_name='note:transfer'), name='index'),
# Include project routers
path('note/', include('note.urls')),
# Include Django Contrib and Core routers
# admin/login/ is redirected to the non-admin login page