You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
413 B
13 lines
413 B
from django.contrib import admin
|
|
|
|
from .models import UsageEvent
|
|
|
|
|
|
@admin.register(UsageEvent)
|
|
class UsageEventAdmin(admin.ModelAdmin):
|
|
list_display = ("device_id", "created_at", "app_version", "platform", "browser", "is_standalone")
|
|
list_filter = ("platform", "browser", "is_standalone", "app_version")
|
|
search_fields = ("device_id",)
|
|
date_hierarchy = "created_at"
|
|
ordering = ("-created_at",)
|