huangyi wrote:
> class Admin:
> js = [url,]
>
> django always translate url to 'admin_media/'+url
>
> I think
>
> if url.startswith('http://'):
> url
> else:
> 'media/'+url
>
> is better.
>
> OR always translate url to 'custom_media/'+url ,
>
> because this *IS* custom js.
>
See http://code.djangoproject.com/ticket/1099
--
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG
http://studioquattro.biz/
http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ |
http://djangoutils.python-hosting.com/
Registered Linux User 282159 [http://counter.li.org]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---