You need to use a path relative to STATIC_URL (or MEDIA_URL), in your example this may work:

  class PlayerAdmin(admin.ModelAdmin):
      class Media:
        js = ('js/adminsettings.js',)


Also, not that the js attribute is a tuple in my example (it can be any iterable, a list, set, etc.)

An alternative is overriding admin templates, which can give you more flexibility, and allow you to apply the same javascript to many models easily.

Call external javascript in the default administration page in Django
What size supply pipe must be used from a 5000 litre water tank to supply 4 bars of pressure to a house that is 20m below and 300m away from the tank?
