Skip to content
Snippets Groups Projects

Explicit fields in Corpus admin

Merged Valentin Rigal requested to merge corpus-admin-fields into release-1.7.3
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -31,6 +31,8 @@ class ElementTypeInline(admin.TabularInline):
class CorpusAdmin(admin.ModelAdmin):
fields = ("id", "name", "description", "top_level_type", "public", "indexable", "maximum_task_ttl", "created")
readonly_fields = ("id", "created")
list_display = ("id", "name", "public", "top_level_type", "created")
search_fields = ("name", )
inlines = (ElementTypeInline, )
Loading