<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>David Cramer's Blog - Latest Comments in Jinja2 and django-registration</title><link>http://davidcramer.disqus.com/</link><description></description><atom:link href="https://davidcramer.disqus.com/thread_83/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 29 Nov 2010 05:46:16 -0000</lastBuildDate><item><title>Re: Jinja2 and django-registration</title><link>http://cramer.io//486/jinja2-and-django-registration.html#comment-104636199</link><description>&lt;p&gt;if you know that the registration views are using render_to_response and RequestContext from their own global namespace, why not just monkeypatch?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Swing Sets</dc:creator><pubDate>Mon, 29 Nov 2010 05:46:16 -0000</pubDate></item><item><title>Re: Jinja2 and django-registration</title><link>http://cramer.io//486/jinja2-and-django-registration.html#comment-38940842</link><description>&lt;p&gt;This is both awesome and scary at the same time. controllers as classes for the win :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jorge Vargas</dc:creator><pubDate>Mon, 05 Oct 2009 22:36:32 -0000</pubDate></item><item><title>Re: Jinja2 and django-registration</title><link>http://cramer.io//486/jinja2-and-django-registration.html#comment-38940841</link><description>&lt;p&gt;@teepark&lt;/p&gt;&lt;p&gt;That is definitely a way you could handle it. However you then lose the ability to interact with the original code as it was. In our project this isn't such a big deal, but the generic accessors in Coffin this definitely isn't a possibility.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Cramer</dc:creator><pubDate>Mon, 05 Oct 2009 16:22:46 -0000</pubDate></item><item><title>Re: Jinja2 and django-registration</title><link>http://cramer.io//486/jinja2-and-django-registration.html#comment-38940840</link><description>&lt;p&gt;seems pretty roundabout. if you know that the registration views are using render_to_response and RequestContext from their own global namespace, why not just monkeypatch?&lt;/p&gt;&lt;p&gt;registration.views.render_to_response = coffin.shortcuts.render_to_response&lt;br&gt;registration.views.RequestContext = coffin.template.RequestContext&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">teepark</dc:creator><pubDate>Mon, 05 Oct 2009 16:18:27 -0000</pubDate></item><item><title>Re: Jinja2 and django-registration</title><link>http://cramer.io//486/jinja2-and-django-registration.html#comment-38940839</link><description>&lt;p&gt;This ticket may be of interest to you:&lt;br&gt;&lt;a href="http://code.google.com/p/django-registration/issues/detail?id=132" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/django-registration/issues/detail?id=132"&gt;http://code.google.com/p/dj...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://bitbucket.org/ubernostrum/django-registration/issue/1/accept-template_loader-in-views" rel="nofollow noopener" target="_blank" title="http://bitbucket.org/ubernostrum/django-registration/issue/1/accept-template_loader-in-views"&gt;http://bitbucket.org/uberno...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lars</dc:creator><pubDate>Thu, 01 Oct 2009 11:18:40 -0000</pubDate></item><item><title>Re: Jinja2 and django-registration</title><link>http://cramer.io//486/jinja2-and-django-registration.html#comment-38940838</link><description>&lt;p&gt;You might also look at how django-smorgasbord does this.  I use it to use mako, currently, with 3rd party applications, but it should work with other template languages as well, including jinja2.  It involves a very minor monkeypatch to django's template loader, with the result that you can use several template systems at once.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacob</dc:creator><pubDate>Thu, 01 Oct 2009 07:57:20 -0000</pubDate></item></channel></rss>