X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8bbef1628f527255a64f624a5508116eeccad083..507752b933a466dd8e962c0e34d0ec74d6de55b7:/apps/wiki/admin.py?ds=sidebyside diff --git a/apps/wiki/admin.py b/apps/wiki/admin.py index 1a61b660..577fece7 100644 --- a/apps/wiki/admin.py +++ b/apps/wiki/admin.py @@ -1,5 +1,10 @@ +# -*- coding: utf-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)