From cf4786ce739b4692056278d5c84c41fe239f84da Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Thu, 28 Dec 2023 17:40:30 +0100 Subject: [PATCH] Add: basic admin page config --- archivist/apps/files/admin.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 archivist/apps/files/admin.py diff --git a/archivist/apps/files/admin.py b/archivist/apps/files/admin.py new file mode 100644 index 0000000..2c18c6a --- /dev/null +++ b/archivist/apps/files/admin.py @@ -0,0 +1,10 @@ +from django.contrib import admin + +from .models import Submission_File + +# Register your models here. + +class Submission_FileAdmin(admin.ModelAdmin): + list_display = ('file_name', 'date_added', 'file_hash', 'file',) + +admin.site.register(Submission_File, Submission_FileAdmin) \ No newline at end of file