Seems like you have no modules with database schema imported:
Code there you put table definition must be imported so it will be
executed and registered with MetaData instance.

On Thu, Jan 15, 2009 at 2:51 PM, Jarek Zgoda <[email protected]> wrote:
>
> 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.
> >
>



-- 
С уважением, Андрей Попп.
+7 911 740 24 91

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to