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:
parent
6a851750f3
commit
b80f7c3637
5 changed files with 221 additions and 64 deletions
|
|
@ -23,6 +23,7 @@ class ScriptAttributeInline(AttributeInline):
|
|||
|
||||
"""
|
||||
model = ScriptDB.db_attributes.through
|
||||
related_field = "scriptdb"
|
||||
|
||||
|
||||
class ScriptDBAdmin(admin.ModelAdmin):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue