Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Jon Clements Newsgroups: comp.lang.python Subject: Re: Jinja2 + jQuery tabs widget Date: Wed, 14 Mar 2012 07:39:00 -0700 (PDT) Organization: http://groups.google.com Lines: 41 Message-ID: <1279295.3910.1331735941023.JavaMail.geo-discussion-forums@vbue17> References: <1715f106-4e6f-45db-b224-fb9f219c2027@x17g2000yqj.googlegroups.com> NNTP-Posting-Host: 86.156.91.130 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1331735941 14010 127.0.0.1 (14 Mar 2012 14:39:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 14 Mar 2012 14:39:01 +0000 (UTC) In-Reply-To: <1715f106-4e6f-45db-b224-fb9f219c2027@x17g2000yqj.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.156.91.130; posting-account=HLD_OAoAAAD-0RilNRZUjdKEwXt97Q9q User-Agent: G2/1.0 Xref: csiph.com comp.lang.python:21605 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 > > > > > > > > > > > {% 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.