google-code-export / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
MIT License
0 stars 0 forks source link

Docs need javascript explanation #130

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It turns out that attempts to add javascript functions within the
extra_head or body blocks silently fail. This is due to the fact that the
standard base.html in basic and complete projects reloads jquery near the
bottom of each page.

To successfully add your own javascript, you must place it within the
extra_body block. To play fairly with other apps that might be loading
javascript as well, Use {{ block.super }} somewhere within your definition
extra_body block definition.

Original issue reported on code.google.com by rockmhow...@gmail.com on 4 Dec 2008 at 7:31

GoogleCodeExporter commented 9 years ago

Original comment by pyDanny on 13 Mar 2009 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by leidel on 13 Mar 2009 at 9:06