Create initial musician.urls

This commit is contained in:
Santiago Lamora 2019-10-10 09:35:15 +02:00
parent aa28796afe
commit 041f6f79da
2 changed files with 16 additions and 1 deletions

14
musician/urls.py Normal file
View File

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

View File

@ -19,9 +19,10 @@ from django.conf.urls.static import static
from django.contrib import admin from django.contrib import admin
from django.urls import include, path from django.urls import include, path
import musician
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('', include('musician.urls')),
] ]
DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool) DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool)