Skip to content
Snippets Groups Projects
Commit d80610fc authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Merge branch 'raw-thumbnail-admin' into 'master'

Prevent loading every single element in the admin

Closes #735

See merge request !1337
parents b02931d0 ff6573ce
No related branches found
No related tags found
1 merge request!1337Prevent loading every single element in the admin
......@@ -26,6 +26,7 @@ class ElementTypeInline(admin.TabularInline):
class CorpusAdmin(admin.ModelAdmin):
list_display = ('id', 'name', 'public', 'repository', 'top_level_type')
raw_id_fields = ('thumbnail', )
search_fields = ('name', )
inlines = (ElementTypeInline, UserMembershipInline, GroupMembershipInline)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment