summaryrefslogtreecommitdiffstats
path: root/api/admin.py
blob: 072abb07c42ad4032355119888fa90bde7cff03e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.contrib import admin

from api.models import Application, Token


@admin.register(Application)
class ApplicationAdmin(admin.ModelAdmin):
    list_display = ["id", "name", "website", "created"]


@admin.register(Token)
class TokenAdmin(admin.ModelAdmin):
    list_display = ["id", "user", "application", "created"]