Store user id/secret in session upon login (#61)

History table uses session's user_id instead of secret in URL.
This commit is contained in:
2018-11-06 21:45:52 -05:00
parent 77141849ac
commit 3d6dff359d
4 changed files with 13 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ urlpatterns = [
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/<str:user_secret>', display_history_table,
# name='display_history_table'),
path('history/', display_history_table, name='display_history_table'),
]