X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/07689901a9bf30daeccf8a1ceb7193fe771eb3ac..bdc2a3ea27e2980c8c0fbdba2efe6b65291692c2:/apps/wiki/admin.py?ds=sidebyside diff --git a/apps/wiki/admin.py b/apps/wiki/admin.py index 9c32b434..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)