First commit of the V2.

New base, new info.
This commit is contained in:
2019-04-18 00:58:59 +02:00
parent 698b6dd865
commit 31d5f7ade4
185 changed files with 32824 additions and 0 deletions

10
music/urls.py Normal file
View 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")
]