from django.contrib import admin

from .models import DeviceToken


admin.site.register(DeviceToken)

from django.contrib import admin

from .models import DeviceToken

class DeviceTokenAdmin(admin.ModelAdmin):
    list_filter = ["platform"]

admin.site.register(DeviceToken, DeviceTokenAdmin)

Add a list filter in the admin to filter by platform.