Create initial musician.urls
This commit is contained in:
parent
aa28796afe
commit
041f6f79da
|
@ -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.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)
|
||||||
|
|
Loading…
Reference in New Issue