I am trying to add a custom javascript file to a Django admin model page. I am using a class Media in the ModelAdmin, but the file is been loaded in the head section. I need at the end of the file. Does anyone knows how to do that?
Thank you all!
class Media:
js = (
'js/jquery.mask.min.js',
'js/mask.js',
)
The aim of these scripts is to have masks working for some fields in the form.