Tightened change to docs/model-api.txt from [4692]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-03-16 15:17:20 +00:00
parent 0a0151b831
commit b14ff2f94d
1 changed files with 3 additions and 2 deletions

View File

@ -1216,8 +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 admin page in JavaScript or to provide "quick links" to fill in default values
for certain fields. for certain fields.
If relative URLs are used, Django admin will automatically prepend these links If you use relative URLs -- URLs that don't start with ``http://`` or ``/`` --
with ``settings.ADMIN_MEDIA_PREFIX``. then the admin site will automatically prefix these links with
``settings.ADMIN_MEDIA_PREFIX``.
``list_display`` ``list_display``
---------------- ----------------