djangosnippets.org: Latest snippets posted by hachaboobhttps://djangosnippets.org/users/hachaboob/2008-09-01T04:36:05.138331-05:00hachaboobrender_partial
2008-09-01T04:36:05.138331-05:00hachaboobhttps://djangosnippets.org/snippets/1014/<p>Works much like an inclusion_tag but allows the template_name to be given as an argument or defaults to partials/MODELNAME.html where MODELNAME is 'got' from the context object you want to render. Its very rough so improvements very welcome!</p>
<p>It would be nice to be able to pass new context variables …</p>
Freely redistributable