On Wednesday, 14 March 2012 14:16:35 UTC, JoeM wrote:
> Hi All,
>
> I'm having issues including a {block} of content from Jinja2
> template into a jQueryUI tab. Does anyone know if such a thing is
> possible? An example is below, which gives me a 500 error when loading
> the page.
>
> Thanks,
> Joe
>
>
>
>
> $(function() {
> $( "#tabs" ).tabs();
> });
>
>
>
>
>
> Summary
> Maps
> Tables
> Animations
> Definitions
>
>
>
> {% block map_content %} {% endblock %}
>
>
Firstly, this isn't really a Python language question - although jinja2 is a
commonly used module for web frameworks.
Secondly, the code looks fine, except we don't know what's in the map_content
block.
Thirdly, 500 is an internal server error - so it's possible it's nothing to do
with any of this anyway -- could you provide a more comprehensive error message?
Jon.
--
http://mail.python.org/mailman/listinfo/python-list