X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8bbef1628f527255a64f624a5508116eeccad083..2cd5a971d3cf9708b43a523a339212cb9220cef3:/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)