django template engine and bootstrap modals

22 views
Skip to first unread message

Andrea Villani

unread,
Feb 10, 2022, 9:38:40 AM2/10/22
to Django users
Hi everyone!
I am developing an appweb and I'm stuck. My homepage is structured as a ListView, where each row shows every object's attributes using django template engine (ex: {{object.attribute}}. Last column shows a button to do an action through a bootstrap modal and if I put {{object .attribute}} it doesn't refered to the current object but to the first one which is displayed in the ListView. I have tried also using a bootstrap dropdown and the problem does not arise. Someone knows how to solve that?
Thank you in avdance!
Reply all
Reply to author
Forward
0 new messages