SQL escapes aren't python string-escapes. So the SQL looks fine to me. Is your db acid capable, and if yes, do begin/commit statements appear? Do all orm classes / instances belong to the same session?

Diez

Am 26.04.2010 um 06:41 schrieb Todd Blanchard <[email protected]>:

I cannot get the admin UI record creation to work at all.

It used to work a couple releases back, now it fails silently. Very perplexed and annoyed.

For instance, I cannot create a new user.

Sample SQL created:

INSERT INTO tg_user (user_id, user_name, email_address, display_name, password, created, account_id) VALUES (%(user_id)s, % (user_name)s, %(email_address)s, %(display_name)s, %(password)s, % (created)s, %(account_id)s) 19:32:33,287 INFO [sqlalchemy.engine.base.Engine.0x...a2d0] {'user_id': 8L, 'account_id': 1, 'created': datetime.datetime(2010, 4, 19, 19, 32, 33, 287036), 'user_name': 'someuser', 'display_name': 'Some User', 'password': '1f1735a79eb1e31e5c5255d4e9808962974bb4d7e2f19928468616f4daa11', 'email_address': '[email protected]'}

Seems broken since user-id is a number, account_id is a number, created is a datetime.....but they all user %s?

-Todd Blanchard

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


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