Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Principals and Admins should get a role when inserted by ./manage.py seed #127

Closed
Greenheart opened this issue May 10, 2016 · 0 comments · Fixed by #132
Closed

Principals and Admins should get a role when inserted by ./manage.py seed #127

Greenheart opened this issue May 10, 2016 · 0 comments · Fixed by #132
Assignees
Labels
Milestone

Comments

@Greenheart
Copy link
Collaborator

The following would assign a role to the principal.
role=Role.query.filter_by(name='Moderator').first()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant