Layout fixes, cover update for files.
[wolnelektury.git] / src / references / admin.py
index 191d0e6..cba8b88 100644 (file)
@@ -2,4 +2,7 @@ from django.contrib import admin
 from . import models
 
 
-admin.site.register(models.Entity)
+@admin.register(models.Entity)
+class EntityAdmin(admin.ModelAdmin):
+    list_display = ['uri', 'label']
+    search_fields = ['uri', 'label']