X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1fbf854ce423d2d56723ff10608267403f4916b0..a802a933f53625f732e9d3807b4162e770c8aaf1:/apps/wiki/admin.py 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)