flask-lastuser
flask-lastuser copied to clipboard
UserMixin class needed
Should add user
column and provide stubs for user merging.
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?