Re: bypass UI adding application to grok AND multiple applications under /src howto?
2012-01-16 06:56:50 GMT
Hi Matt, ok do you have a configure.zcml in your new paster based package? In every case you need it with the following content: <configure xmlns="http://namespaces.zope.org/zope" xmlns:grok="http://namespaces.zope.org/grok"> <include package="grok" /> <grok:grok package="." /> </configure> Be sure that this configure.zcml is picked up on startup. If you now have for example in this package a app.py with the following content: class MyNewApp(grok.Application): pass You should see this new grok application MyNewApp in the grok-admin interface. If you have further questions please ask.... HTH Christian > Matt Rutherford <mailto:matrutherford <at> gmail.com> > 16. Januar 2012 00:58(Continue reading)
RSS Feed