I'm trying to get into Werkzeug (0.4.1) and I have some problem with shorty tutorial (http://werkzeug.pocoo.org/documentation/tutorial/). Basically, the management command initdb (made with action_initdb = lambda: make_app().init_database()) does not create database and its objects. If I create the application object and call its init_database () method, everything works fine. Function make_app() as defined in manage.py returns proper application instance (in fact, I even called make_app() to get application object then called init_database() and everything went fine in werkzeug shell).
Can anybody help me with this? Cheers J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
