Refactor saving History obj
From import_history and parse_history. Also refactor getting CSV information from import_history.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ user_id }}'s Listening History</h1>
|
||||
<p> Found {{ total_history }} songs. </p>
|
||||
<a class="btn btn-primary " href="{% export_url 'csv' %}" role="button">Export</a>
|
||||
{% render_table user_history_table %}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user