First commit of the V2.
New base, new info.
This commit is contained in:
10
music/urls.py
Normal file
10
music/urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.urls import path
|
||||
from .views import ListCreateSongsView, SongsDetailView, LoginView, RegisterUsers
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('songs/', ListCreateSongsView.as_view(), name="songs-list-create"),
|
||||
path('songs/<int:pk>/', SongsDetailView.as_view(), name="songs-detail"),
|
||||
path('auth/login/', LoginView.as_view(), name="auth-login"),
|
||||
path('auth/register/', RegisterUsers.as_view(), name="auth-register")
|
||||
]
|
Reference in New Issue
Block a user