X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2f9c60b76f3ab4e69d794a6bb14388a81ff29eb7..8ac560f9402b05f2811bf8207338110f01e2e576:/apps/wiki/admin.py 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)