Create initial musician.urls
This commit is contained in:
parent
aa28796afe
commit
041f6f79da
14
musician/urls.py
Normal file
14
musician/urls.py
Normal 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'),
|
||||
]
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue