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 j
Hi,
I recently posted your first suggestion:
http://code.djangoproject.com/ticket/1633. Is this something that
should be built into Django? I think one should be abled to load
javascript files (and other files) from every possible URL and defaults
to the ADMIN_MEDIA_PREFIX.
More on your second s
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.
I just want to use FCKEditor to replace a Tex