blob: 8eb9833a94c72960cc82e3db411c1430329d01ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
"""
Admin components for tagging.
"""
from django.contrib import admin
from tagging.models import Tag
from tagging.models import TaggedItem
from tagging.forms import TagAdminForm
class TagAdmin(admin.ModelAdmin):
form = TagAdminForm
admin.site.register(TaggedItem)
admin.site.register(Tag, TagAdmin)
|