[Grok-dev] fanstatic Userwarning unassociated template

Jan-Jaap Driessen jdriessen at thehealthagency.com
Tue Mar 1 10:55:43 EST 2011


Hi Paul,

On 1 March 2011 16:39, DIVINE, PAUL (PAUL)
<paul.divine at alcatel-lucent.com> wrote:
> Hi,
>
> With the introduction of fanstatic I did'nt found where to associated the page templates.
>
> After the command
>
> ./bin/paster serve parts/etc/debug.ini
>
>
> The following Userwarning is displayed.
>
> /root/.buildout/eggs/grokcore.view-2.3-py2.5.egg/grokcore/view/templatereg.py:200:
> UserWarning: Found the following unassociated template after configuration in  'npotools.app': form_template.
>  warnings.warn(msg, UserWarning, 1)
> /root/.buildout/eggs/grokcore.view-2.3-py2.5.egg/grokcore/view/templatereg.py:200:
> UserWarning: Found the following unassociated template after configuration in  'npotools.app': master_template.
>  warnings.warn(msg, UserWarning, 1)
>
> In the app.py I have the following code
> master_template = grok.PageTemplateFile('app_templates/master.pt')
> form_template   = grok.PageTemplateFile('custom_edit_form.pt')
>
>
> Thanks for your help.
> Regards,
> Paul

Your issue is probably not related to fanstatic, but to grokcore.view.

J-W released a new version today, which may be worth upgrading to.

Cheers,

-- 
Jan-Jaap Driessen


More information about the Grok-dev mailing list