DocManagerBackend/docmanager_backend/authorization_requests/admin.py

12 lines
317 B
Python
Raw Normal View History

2025-01-09 02:10:42 +08:00
from django.contrib import admin
from unfold.admin import ModelAdmin
from .models import AuthorizationRequest
# Register your models here.
@admin.register(AuthorizationRequest)
class AuthorizationRequestAdmin(ModelAdmin):
search_fields = ["id"]
list_display = ["id", "date_requested", "status", "college"]