Hi,
I am working on advance egg cooking but the instruction is for version 0.9.
I try to follow the code of version 0.11 and use Genshi. I modify the
setup.py by adding
package_data={*'helloworld'*: [*'templates/*'*]},
Then in the helloworld.py I have:
def match_request(*self*, req):
return req.path_info == *'/helloworld'
*
def *process_request*(*self*, req):
return *'helloworld.html'*, None
I think the code seems fine but I got error that it can't find
helloworld.html. What do I need to do so that it is in the path?
It works if I manually copy the html file to the env\templates.
-- Deen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---