title: How are Django custom widget assets retrieved by the browser?
body: <p>I have been reading this part of the django documentation : <a href="https://docs.djangoproject.com/en/3.0/topics/forms/media/#assets-as-a-static-definition" rel="nofollow noreferrer">https://docs.djangoproject.com/en/3.0/topics/forms/media/#assets-as-a-static-definition</a>
  and this raised a question for me.</p>
  <p>I think in order for the animations and actions js files to be used by the browser they have to be referenced in a script html tag.</p>
  <p>As defining js assets in the form widget, like shown in the documentation, does not add any  tag in the html template I do not understand how these files will be retrieved by the browser.</p>