X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1fbf854ce423d2d56723ff10608267403f4916b0..fccc8f3f1d58b2bc819faece3a5d18b9ba5e873e:/apps/wiki/admin.py?ds=inline

diff --git a/apps/wiki/admin.py b/apps/wiki/admin.py
index 1a61b660..ae309a9d 100644
--- a/apps/wiki/admin.py
+++ b/apps/wiki/admin.py
@@ -2,4 +2,8 @@ from django.contrib import admin
 
 from wiki import models
 
-admin.site.register(models.Theme)
+
+class ThemeAdmin(admin.ModelAdmin):
+    search_fields = ['name']
+
+admin.site.register(models.Theme, ThemeAdmin)