Billf, your answer must have come to wrong topic?

On Nov 17, 10:18 am, billf <[EMAIL PROTECTED]> wrote:
> Massimo
>
> The problem with the above example is that, tho' it works fine first
> time thru', subsequent executions (for me at least) result in
>
> "'users' referenced before assignment"
>
> Once the tables have been created, I believe the controller code must
> reference them as "db.users.insert..." and db.dogs.owner..." as this
> always works.
>
> The bit I don't understand is this: I step thru' the model and see
> "users" populated with an SQLTable.  In the controller/action, I look
> in Globals and see "user" containing an SQLTable.  But when I hit the
> line print users.fields then I get the abover error.  I don't
> unnerstan - can someone please edicate me?
>
> Bill
>
> On Nov 17, 7:40 am, mmstud <[EMAIL PROTECTED]> wrote:
>
> > Earlier this year i made a web app with Pylons using Elixir as ORM
> > front layer. I got a project lately and browsed to Pylons, Django and
> > Turbogears sites to find, if there are any updates. Finally on some
> > point using Google i found web2py mentioned. I dont remember, that i
> > had read it last year, when i was comparing python web frameworks. But
> > now when i found it, it rapidly raised my own projects of early days
> > doing with PHP. I called designed framework Online Web Application
> > Builder, OWAB.
>
> > So you can imagine, that i was surprised and very excited to read
> > web2py and try it. Now im sure, im going to implement my association
> > member management system with web2py, maybe other projects later this
> > and next year, if it goes well.
>
> > I have a large set of tables and links defined with Elixir and now im
> > interested to hear, if anyone has tried to make conversion or just
> > used Elixir models in web2py programs?
>
> > Other things also came to my mind. Do you have aims to do reverse
> > modeling from database table structures? Some web frameworks has
> > similar features and in some cases it could help development cycle to
> > get models fetched from table structures for futher, detailed work.
>
> > Thanks for great active group,
> > -Marko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to