|
@ -8,9 +8,11 @@ urlpatterns = [ |
|
|
path('login', login, name='login'), |
|
|
path('login', login, name='login'), |
|
|
path('callback', callback, name='callback'), |
|
|
path('callback', callback, name='callback'), |
|
|
path('user_data', user_data, name='user_data'), |
|
|
path('user_data', user_data, name='user_data'), |
|
|
path('test_db', test_db, name='test_db'), |
|
|
|
|
|
|
|
|
path('admin_graphs', admin_graphs, name='admin_graphs'), |
|
|
path('user_artists/<str:user_id>', get_artist_data, name='get_artist_data'), |
|
|
path('user_artists/<str:user_id>', get_artist_data, name='get_artist_data'), |
|
|
path('user_genres/<str:user_secret>', get_genre_data, name='get_genre_data'), |
|
|
|
|
|
|
|
|
path('api/user_genres/<str:user_secret>', get_genre_data, name='get_genre_data'), |
|
|
|
|
|
path('graphs/genre/<str:client_secret>', display_genre_graph, |
|
|
|
|
|
name='display_genre_graph'), |
|
|
path('audio_features/<str:client_secret>', audio_features, name='audio_features'), |
|
|
path('audio_features/<str:client_secret>', audio_features, name='audio_features'), |
|
|
path('audio_features/<str:audio_feature>/<str:client_secret>', |
|
|
path('audio_features/<str:audio_feature>/<str:client_secret>', |
|
|
get_audio_feature_data, name='get_audio_feature_data'), |
|
|
get_audio_feature_data, name='get_audio_feature_data'), |
|
|