In my own project i already have jQuery saved in my own media dir and
i added in my own /admin/base_site.html file. So in some admin views i
have two jQuery included. That's not really good.
Managing CSS/JS files in the admin views should be reconsidered. But i
have not a solution for this, now :(
Ideas?
Mfg.
Jens
> In my own project i already have jQuery saved in my own media dir and
> i added in my own /admin/base_site.html file. So in some admin views i
> have two jQuery included.
Isn't Django's media handling capable to help in case you want to use your own version of a JavaScript file shipped with Django? http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-media-definitions
Jannis
I hope that including jquery with the admin-interface is not a big
mistake in the long run.
regards,
patrick
> Isn't Django's media handling capable to help in case you want to use your own version of a JavaScript file shipped with Django?http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-me...
>
> Jannis
Then it's our job to make sure it isn't. Admin clearly benefits from
having a richer javascript toolkit to work with. If we need to improve
the media framework to avoid a particular type of javascript reuse
problem, then that's what we need to do. You don't fix a problem by
hobbling functionality.
Yours,
Russ Magee %-)