[Grok-dev] fanstatic Userwarning unassociated template
DIVINE, PAUL (PAUL)
paul.divine at alcatel-lucent.com
Wed Mar 2 10:39:40 EST 2011
Thanks a lot Jan-Jaap.
Regards,
Paul
-----Message d'origine-----
De : Jan-Jaap Driessen [mailto:jdriessen at thehealthagency.com]
Envoyé : mardi 1 mars 2011 16:56
À : DIVINE, PAUL (PAUL)
Cc : grok-dev at zope.org
Objet : Re: [Grok-dev] fanstatic Userwarning unassociated template
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