[ckan-dev] template helper function problem

Koebrick, Andrew (MNIT) andrew.koebrick at state.mn.us
Mon Jan 27 21:40:52 UTC 2014


I have added this line to my index.html template just after {% block content %}:

{{ h.flash_notice('<b>Note</b>: This site is in development and is intended for evaluation purposes only. Data found here should be considered test data only!', allow_html=True) }}

Although it works successfully, it also injects the word "None" into my HTML:

<header class="masthead">
+<div class="container">
</header>
None
<div class="hero" role="main">
+<div id="content" class="container">
</div>

Any thoughts on what I am doing wrong?  

Thanks,

Andrew Koebrick




More information about the ckan-dev mailing list