Add: basic admin page config
This commit is contained in:
parent
e24d017082
commit
cf4786ce73
1 changed files with 10 additions and 0 deletions
10
archivist/apps/files/admin.py
Normal file
10
archivist/apps/files/admin.py
Normal 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)
|
Loading…
Reference in a new issue