Add: basic admin page config

This commit is contained in:
Aroy-Art 2023-12-28 17:40:30 +01:00
parent e24d017082
commit cf4786ce73
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -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)