mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-01-19 01:23:02 +08:00
11 lines
290 B
Python
11 lines
290 B
Python
from django.contrib import admin
|
|
from unfold.admin import ModelAdmin
|
|
|
|
from .models import Questionnaire
|
|
|
|
|
|
@admin.register(Questionnaire)
|
|
class QuestionnaireAdmin(ModelAdmin):
|
|
model = Questionnaire
|
|
search_fields = ["id", "date_submitted"]
|
|
list_display = ["id", "date_submitted"]
|