diff --git a/archivist/apps/files/admin.py b/archivist/apps/files/admin.py index 2c18c6a..186088d 100644 --- a/archivist/apps/files/admin.py +++ b/archivist/apps/files/admin.py @@ -1,10 +1,18 @@ from django.contrib import admin -from .models import Submission_File +from .models import Submission_File, User_Profile_Images, User_Banner_Images # 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 +class User_Banner_ImagesAdmin(admin.ModelAdmin): + list_display = ('file_name', 'date_added', 'file_hash', 'file',) + +class User_Profile_ImagesAdmin(admin.ModelAdmin): + list_display = ('file_name', 'date_added', 'file_hash', 'file',) + +admin.site.register(Submission_File, Submission_FileAdmin) +admin.site.register(User_Banner_Images, User_Banner_ImagesAdmin) +admin.site.register(User_Profile_Images, User_Profile_ImagesAdmin) \ No newline at end of file