Hi, I try to learn pylons, and I'm creating small site, reading the pylons book, and trying to use simplesite as a basis. I've encountered one problem when I tried to set up authkit with users from database. I add all the imports and users = UsersFromDatabase(model) to websetup.py, but when I run paster setup-app development.ini, user, roles and other necessary tables are not created, and of course it leads to errors a moment after when the script tries to add users and roles:
22:51:33,396 INFO [sqlalchemy.engine.base.Engine.0x...4f2c] SELECT roles.uid AS roles_uid, roles.name AS roles_name FROM roles WHERE roles.name = ? causes: sqlalchemy.exc.OperationalError: (OperationalError) no such table: roles u'SELECT roles.uid AS roles_uid, roles.name AS roles_name \nFROM roles \nWHERE roles.name = ? \n LIMIT 1 OFFSET 0' ['delete'] i'd be grateful for any suggestions thanks in advance c --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
