Attributes in django admin now also editable inline, causing them to call the AttributeHandler or NicksHandler of the appropriate object.

This commit is contained in:
Tehom 2016-11-08 04:16:10 -05:00 committed by Griatch
parent 6a851750f3
commit b80f7c3637
5 changed files with 221 additions and 64 deletions

View file

@ -14,6 +14,7 @@ class ChannelAttributeInline(AttributeInline):
"""
model = ChannelDB.db_attributes.through
related_field = "channeldb"
class ChannelTagInline(TagInline):
@ -22,6 +23,7 @@ class ChannelTagInline(TagInline):
"""
model = ChannelDB.db_tags.through
related_field = "channeldb"
class MsgAdmin(admin.ModelAdmin):