1 2 3 4 5 6 7 8 9 10 11 12 13
from django.contrib import admin from tagging.models import Tag, TaggedItem from tagging.forms import TagAdminForm class TagAdmin(admin.ModelAdmin): form = TagAdminForm admin.site.register(TaggedItem) admin.site.register(Tag, TagAdmin)