Hello everybody,
Consider such a setup:
templates/base.html: loads jquery in {% block jquery %}
templates/admin/base_site.html: extends base.html, sets {% block
jquery %}{% endblock %} so that the parent template doesn't interfere
with django admin's loading of jquery
That worked pretty well until i installed admindoc: it doesn't load
jquery, but it extends admin/base.html. So no navigation for base.html
in admindoc views.
What's puzzling is that it would be a non issue if only admindoc
templates extended admindoc/base.html which in turn would extend
admin/base_site.html then i could just set {% block jquery %} to load
jquery for admindoc pages without interference.
What do you think ?
What's the best way to get jquery in my base, avoid double loading in
admin views, and get jquery in admindoc ?
Regards
--
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en.