djangosnippets.org: Latest snippets tagged with 'conditional-parsing'https://djangosnippets.org/tags/conditional-parsing/2008-04-29T03:45:04.284127-05:00Conditional template parsing block
2008-04-29T03:45:04.284127-05:00mkhttps://djangosnippets.org/snippets/731/<p>I'm developing a regionalization extension based on PostGIS and GeoDjango for a web-based LCA software. Because PostGIS (or PostgreSQL) is not available everywhere, we needed a way to fully disable the geographic extensions.</p>
<p>Because of that, I set out to create a template block tag which only gets evaluated when …</p>
Freely redistributable