You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think need use list_display without template usage.
class Admin(DjangoObjectActions, ...):
list_display = ( ... , 'object_actions')
class DjangoObjectActions(...)
def object_actions(self, obj):
for x in objectactions:
...
return "HTML WITH BUTTONS"
object_actions.allow_tags = True
It is may be more simple, and not require work with templates. What do you think about it?
And it is fix grappelli issuse, and all issuse connected to custom templates.
The text was updated successfully, but these errors were encountered:
I think need use
list_display
without template usage.It is may be more simple, and not require work with templates. What do you think about it?
And it is fix grappelli issuse, and all issuse connected to custom templates.
The text was updated successfully, but these errors were encountered: