from django.contrib import admin

from .models import UploadFile

class UploadFileAdmin(admin.ModelAdmin):
    save_on_top = True

admin.site.register(UploadFile, UploadFileAdmin)

@@ -25,16 +25,62 @@
 rt admin
+%0Afrom django.utils.safestring import mark_safe
 %0A%0Afrom .
@@ -154,25 +154,402 @@
     
-save_on_top = Tru
+list_display = ('title', 'get_type', 'flag', 'size', 'created', 'retrieval_start', 'retrieval_end', 'retrieval_error')%0A    save_on_top = True%0A%0A    def title(self, obj):%0A        %22%22%22Returns the uploads name plus icon (if available)%22%22%22%0A        if obj.icon:%0A            return mark_safe(%22%3Cimg src='%7B0.icon%7D' style='width: 2em; vertical-align: middle;'%3E %7B0.name%7D%22.format(obj))%0A        return obj.nam
 e%0A%0Aa

Improve admin interface for uploaded files