From 041f6f79dabf85a64d16c5cf21a4dbeabda600b7 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Thu, 10 Oct 2019 09:35:15 +0200 Subject: [PATCH] Create initial musician.urls --- musician/urls.py | 14 ++++++++++++++ userpanel/urls.py | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 musician/urls.py diff --git a/musician/urls.py b/musician/urls.py new file mode 100644 index 0000000..8e07ad9 --- /dev/null +++ b/musician/urls.py @@ -0,0 +1,14 @@ + +""" +URL routes definition. + +Describe the paths where the views are accesible. +""" +from django.urls import path + +app_name = 'musician' + +urlpatterns = [ + # path('auth/login/', views.LoginView.as_view(), name='login'), + # path('auth/logout/', views.LogoutView.as_view(), name='logout'), +] diff --git a/userpanel/urls.py b/userpanel/urls.py index 6081e5b..1f0caec 100644 --- a/userpanel/urls.py +++ b/userpanel/urls.py @@ -19,9 +19,10 @@ from django.conf.urls.static import static from django.contrib import admin from django.urls import include, path +import musician urlpatterns = [ - path('admin/', admin.site.urls), + path('', include('musician.urls')), ] DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool)