Moves from_json to utils and splits the models to files in a module
This commit is contained in:
2024-02-06 15:31:05 +01:00
parent e7ee92868f
commit aad9343569
10 changed files with 132 additions and 111 deletions
+3 -1
View File
@@ -2,5 +2,7 @@ from django.urls import path
from . import views
urlpatterns = [
path('track/<str:spotify_id>', views.TrackView.as_view()),
path('track/<str:spotify_id>', views.TrackDetailView.as_view()),
path('track', views.NominateView.as_view()),
path('', views.TrackListView.as_view()),
]