This commit is contained in:
10
vrobbler/apps/trends/admin.py
Normal file
10
vrobbler/apps/trends/admin.py
Normal file
@ -0,0 +1,10 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from trends.models import TrendResult
|
||||
|
||||
|
||||
@admin.register(TrendResult)
|
||||
class TrendResultAdmin(admin.ModelAdmin):
|
||||
list_display = ("user", "trend_slug", "computed_at", "created")
|
||||
list_filter = ("user", "trend_slug")
|
||||
ordering = ("-computed_at",)
|
||||
Reference in New Issue
Block a user