pygameweb icon indicating copy to clipboard operation
pygameweb copied to clipboard

'members' role not created in database migration

Open takluyver opened this issue 8 years ago • 2 comments
trafficstars

I got as far as creating and verifying a user on my locally running server, but when this line tries to give me the 'members' role:

https://github.com/pygame/pygameweb/blob/567246bbf86caafe9494d110be67497e744fa554/pygameweb/user/views.py#L221

It fails, because the 'members' role does not exist in the database.

takluyver avatar Oct 13 '17 14:10 takluyver

If anyone else runs into this, I worked around it by manually creating a row in the 'groups' table with the name 'members'.

takluyver avatar Oct 13 '17 16:10 takluyver

This issue can be fixed by a side effect of #97, 'members' role will be created when populating the database with pygameweb_fixtures command.

gacheiro avatar Sep 06 '20 13:09 gacheiro