On Thu, Dec 25, 2008 at 8:25 PM, francois chesnay
<[email protected]> wrote:
> Hello,
>
> I tried to create a model using tg-admin sql create, but I have error
> message below. I manage to make the model work in pure python (not using
> turbogears), but when I use turbogears I can not manage to make it work.
>
> Could anyone help?

you need to import Date from the sqlalchemy types:

from sqlalchemy.types import Date

Florent.

PS: you should also try to use 1.0.8 instead of 1.0.4.4.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to