How can I call external javascript in my default admin html page in Django.
I know that using MEDIA class I can do this in admin.py file.
Here is the my try:
class PlayerAdmin(admin.ModelAdmin):
class Media:
js = ('/static_files/js/adminsettings.js')
But I am not getting data written in the JavaScript file.