Thank you for the link, everything seems fine but I still get the
problem. When running paster setup-app development.ini, I get the
following error:

sqlalchemy.exc.ProgrammingError: (ProgrammingError) (1146, "Table
'myproject.users' doesn't exist")

...and the AuthKit tables are not created,

Any other idea ? Thank you,

Fabrice


On 3 November 2010 12:46, Hermenegildo Konstantin
<[email protected]> wrote:
> see here :
> http://pylonsbook.com/en/1.1/simplesite-tutorial-part-3.html#adjusting-websetup-py
>
> On 3 stu, 10:09, Fabrice Estiévenart <[email protected]> wrote:
>> Hello,
>>
>> I'm trying to use AuthKit in a Pylons project but the tables groups,
>> users, roles, ... are never created in my database. I'd like to know
>> which command is expected to create these tables or if I need to
>> create them manually ?
>>
>> My websetup.py has the following instructions (inspired from the
>> SimpleSite example):
>> users = UsersFromDatabase(model)
>> users.user_create("foo", password="bar")
>>
>> ...and I have added this line to middleware.py:
>> app = authkit.authenticate.middleware(app, app_conf)
>>
>> Thank you,
>>
>> Fabrice
>
> --
> 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.
>
>

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

Reply via email to