+class RedirectAdmin(admin.ModelAdmin):
+ list_display=('slug', 'target', 'path', 'status_code',)
+ list_filter=('status_code',)
+ form = RedirectAdminForm
+
+
+class FileAdmin(admin.ModelAdmin):
+ form=FileAdminForm
+ list_display=('slug', 'mimetype', 'path', 'file',)
+
+