admin.py 191 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 from django.contrib import admin from models import LexicalUnit class LexicalUnitAdmin(admin.ModelAdmin): search_fields = ('base',) admin.site.register(LexicalUnit, LexicalUnitAdmin)