djangosnippets.org: Latest snippets posted by jeffschenckhttp://djangosnippets.org/users/jeffschenck/2009-09-27T06:13:10.863275-05:00jeffschenckRender arbitrary models - template tag
2009-09-27T06:13:10.863275-05:00jeffschenckhttp://djangosnippets.org/snippets/1745/<p>This template tag provides an easy way to render objects in your template, even if you don't know ahead of time what type they are.
</p>
<p>For example, if you've got a search page with a result list comprised of objects from various models, you can simply loop through them and …</p>
Freely redistributable