Still need to convert timestamps to more CPU-readable format and figure out what to do about reading headers for importing.
18 lines
661 B
Python
18 lines
661 B
Python
from django.urls import path, include
|
|
|
|
from .views import *
|
|
|
|
app_name = 'graphs'
|
|
urlpatterns = [
|
|
path('artists/<str:user_secret>', display_artist_graph,
|
|
name='display_artist_graph'),
|
|
path('genre/<str:user_secret>', display_genre_graph,
|
|
name='display_genre_graph'),
|
|
path('audio_features/<str:user_secret>', display_features_graphs,
|
|
name='display_audio_features'),
|
|
# path('history/<str:user_secret>', display_history_table,
|
|
# name='display_history_table'),
|
|
# path('history/', display_history_table, name='display_history_table'),
|
|
path('history/', HistoryList.as_view(), name='display_history_table'),
|
|
]
|