Song reporting and user stats

This commit is contained in:
Olaf Slomp
2018-12-14 16:59:44 +01:00
committed by Daan Sprenkels
parent 0c1f9cb08d
commit f6fcc63450
17 changed files with 381 additions and 47 deletions

View File

@ -1,9 +1,12 @@
import time
from django.db import models
from django.db.models import Q, Max
from django.conf import settings
from songs.models import Song
from django.utils import timezone
from songs.models import Song
class Playlist(models.Model):
def __str__(self):

View File

@ -15,6 +15,7 @@
<th>Title</th>
<th>Uploader</th>
<th style="text-align: right;">Length</th>
<th>Report</th>
</tr>
<tr>
<th colspan="2"><input id="search-all" class="search-input" type="text"></th>