diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-03-09 09:32:39 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-03-09 09:32:39 +0000 |
| commit | ab64b383177f8e554c876d7c8574df6169ecc515 (patch) | |
| tree | dbe98d757e4289ab4c9de6710b06e7f6f52b8e61 /docs | |
| parent | cc8d656569cd907a92b8b292e3a6627d5f9a5290 (diff) | |
Fixed #2869 -- Do not append ADMIN_MEDIA_PREFIX to absolute-path URLs used for
included javascript. Based on patches from SmileyChris and oyvind@saltvik.no.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index 1e7f69903d..e66e96de68 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -1216,6 +1216,9 @@ screen via ``<script src="">`` tags. This can be used to tweak a given type of admin page in JavaScript or to provide "quick links" to fill in default values for certain fields. +If relative URLs are used, Django admin will automatically prepend these links +with ``settings.ADMIN_MEDIA_PREFIX``. + ``list_display`` ---------------- |
