I think, you should try to use Flask instead of raw Werkzeug+Jinja2 or read tutorial again. Hint — you MainApplication is not WSGI application at all.
On Wed, Apr 28, 2010 at 3:23 PM, Patchie <[email protected]> wrote: > I am trying to make a simple webpage with templates using werkzeug and > jinja2 > > I want this two url's to work: > http://localhost:4000/ > http://localhost:4000/hello/ > > This is the code i use: http://paste.pocoo.org/show/207064/ > > This is the traceback i get: http://paste.pocoo.org/show/207052/ > > Can somone help me clean up this code? :)...i have read some > tutorials..but its hard when i dont get the basic's..thats why i want > to make it this simple first > > Thanks in advance ;) > > -- > You received this message because you are subscribed to the Google Groups > "pocoo-libs" 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/pocoo-libs?hl=en. > > -- Andrey Popp phone: +7 911 740 24 91 e-mail: [email protected] -- You received this message because you are subscribed to the Google Groups "pocoo-libs" 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/pocoo-libs?hl=en.
