pygameweb
pygameweb copied to clipboard
'members' role not created in database migration
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.
If anyone else runs into this, I worked around it by manually creating a row in the 'groups' table with the name 'members'.
This issue can be fixed by a side effect of #97, 'members' role will be created when populating the database with pygameweb_fixtures command.