Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserMixin class needed #7

Open
jace opened this issue Apr 13, 2013 · 1 comment
Open

UserMixin class needed #7

jace opened this issue Apr 13, 2013 · 1 comment

Comments

@jace
Copy link
Member

jace commented Apr 13, 2013

Should add user column and provide stubs for user merging.

@jace
Copy link
Member Author

jace commented Apr 13, 2013

All models that currently have a user_id should inherit from UserMixin. Unresolved ambiguity: what happens to backrefs? If the relationship is defined in the mixin, there's no place to define a backref from. Should the mixin auto-add a backref using the tablename?

Or should UserMixin not provide the column at all, leaving that to the model?

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

No branches or pull requests

1 participant