Skip to content
Snippets Groups Projects
Verified Commit ff6573ce authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Prevent loading every single element in the admin

parent b02931d0
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