[Grok-dev] fanstatic Userwarning unassociated template

DIVINE, PAUL (PAUL) paul.divine at alcatel-lucent.com
Tue Mar 1 10:39:53 EST 2011


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


More information about the Grok-dev mailing list