mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +00:00
14 lines
326 B
Python
14 lines
326 B
Python
|
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"]
|