Setup django_tables2 for user history table
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
{% load static %}
|
||||
{% load render_table from django_tables2 %}
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
@@ -8,6 +9,7 @@
|
||||
<link rel="stylesheet" href="{% static 'css/dark_bg.css' %}">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Your Listening History</h1>
|
||||
<h1>{{ user_id }}'s Listening History</h1>
|
||||
{% render_table user_history_table %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user