Re: [sqlalchemy] Modification tracking

2013-08-25 Thread Wolfgang Keller
In an application, I have rather elaborate needs to track changes. Now I need to track all modifications to all fields, including the relationship list objects. One way to accomplish this would be within the database server itself. With a rule that, instead of updating a record, inserts a

[sqlalchemy] Session() and UnboundLocalError: local variable 'Session' referenced before assignment

2013-08-25 Thread Mohsen Pahlevanzadeh
Dear all, When i using Session = Session(); i get the following error: UnboundLocalError: local variable 'Session' referenced before assignment *Wher's my problem?* -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe from this group

[sqlalchemy] Re: Session() and UnboundLocalError: local variable 'Session' referenced before assignment

2013-08-25 Thread Lele Gaifax
Mohsen Pahlevanzadeh m.pahlevanza...@gmail.com writes: Dear all, When i using Session = Session(); i get the following error: UnboundLocalError: local variable 'Session' referenced before assignment *Wher's my problem?* The message seems reasonably clear, doesn't it? Putting aside the