Changes between Initial Version and Version 1 of Ticket #4398


Ignore:
Timestamp:
Jun 1, 2007, 2:37:56 PM (17 years ago)
Author:
Adrian Holovaty
Comment:

(Fixed formatting in description.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4398 – Description

    initial v1  
    11In the admin class, if you do :
    22
     3{{{
    34js = ['http://127.0.0.1:8000/mediafiles/admin.js']
     5}}}
    46
    57It will be rendered like that in the admin :
    68
     9{{{
    710<script src="/media/http://127.0.0.1:8000/mediafiles/admin.js" type="text/javascript"/>
     11}}}
    812
    913Doc says : « If you use relative URLs — URLs that don’t start with http:// or / — then the admin site will automatically prefix these links with settings.ADMIN_MEDIA_PREFIX. », so I guess this is a bug.
Back to Top