This is what I've tried so far:

I modified initialize-pg.sql endlessly always coming to this Person
'by_user_name' problem.
I've found this about it.
http://www.mail-archive.com/[email protected]/msg00682.html
I came to the conclusion it had something to do with model.py.
I modified as per the instructions in identity-migrate-09a4-to-09a5.sql
the actual model.py, changing in the respective classes userId for
userName, groupId for groupName, permissionId for permissionName.
Still no luck with the supplied initialize-pg.sql.
Decided the way this should work us thru tg-admin sql sql, naturally.
The new model.py successfully created an sql script, which lacked many
semi-colons (?).
I managed to run that script, created a new Person/Group (admin,admin)
with the md5 password 'admin'...

Yet now I get no errors, is there any way I can get the SQL being
passed around?

2006-05-10 18:53:39,667 turbogears.identity DEBUG Retrieving identity
for visit: 0c33dea34c9fe56bed14d4a16ad0d57594321f87
2006-05-10 18:53:39,668 turbogears.identity INFO Identity is
available...
2006-05-10 18:53:39,671 turbogears.controllers DEBUG Calling <function
login at 0xb72e2d84> with *((<fasttrack.controllers.Root object at
0xb72e530c>,)), **({'password': u'admin', 'user_name': u'admin'})
2006-05-10 18:53:39,673 turbokid.kidsupport DEBUG Applying template
fasttrack.templates.login

The model looks right, but I don't know whats wrong...


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

Reply via email to