Commit b022982e authored by Christophe Siraut's avatar Christophe Siraut

Allow file uploads

parent 70637d5c
......@@ -15,12 +15,12 @@ class VideoAdmin(admin.ModelAdmin):
list_display = ('title', 'page')
class FileAdmin(admin.ModelAdmin):
list_display = ('title', 'page')
list_display = ('file', 'page')
admin.site.register(Image, ImageAdmin)
admin.site.register(Agenda)
admin.site.register(Press)
admin.site.register(Reference)
admin.site.register(Video, VideoAdmin)
#admin.site.register(File, FileAdmin)
admin.site.register(File, FileAdmin)
admin.site.register(ImagesUpload)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment