Ticket #15030: modeladmin-media-definitions.diff
File modeladmin-media-definitions.diff, 886 bytes (added by , 14 years ago) |
---|
-
docs/ref/contrib/admin/index.txt
1043 1043 } 1044 1044 js = ("my_code.js",) 1045 1045 1046 Keep in mind that this will be prepended with ``MEDIA_URL``. The same rules 1047 apply as :doc:`regular media definitions on forms </topics/forms/media>`.1046 As part of the introduction of the 1047 :doc:`staticfiles app </ref/contrib/staticfiles>` this will be prepending the the new :setting:`STATIC_URL` and if this is ``None`` Django will fallback to :setting:`MEDIA_URL` setting. The same rules apply as :doc:`regular media definitions on forms </topics/forms/media>`. 1048 1048 1049 1049 Django admin Javascript makes use of the `jQuery`_ library. To avoid 1050 1050 conflict with user scripts, Django's jQuery is namespaced as