djangosnippets.org: Latest snippets tagged with 'mini'https://djangosnippets.org/tags/mini/2009-04-19T14:02:38.308016-05:00mini_render_to_response
2009-04-19T14:02:38.308016-05:00menendezhttps://djangosnippets.org/snippets/1451/<p>You need the mini-detector middleware installed <a href="http://www.iterasi.net/openviewer.aspx?sqrlitid=-e2dfig9w0yrclxaigp-uw">http://www.iterasi.net/openviewer.aspx?sqrlitid=-e2dfig9w0yrclxaigp-uw</a>.</p>
<p>This is a drop in replacement to render_to_response. When using mini_render_to_response it will try to load a version of your template with &#157;mini at the end. For example "home_mini.html" instead of "home.html". If it doesn't find the _mini version it falls back …</p>
Freely redistributable