In Django Admin interface, Whenever there is a change in a specific field of a Model, I just need to ask the confirmation using JS. I found that {{ onclick_attrib }} can achieve this. Can you please suggest from where we can pass this value? Is there any doc available?
Share
I would simply include js file and do the stuff there.
Model definition:
And js (preview only):