hello iam trying to get a currnet_user information in my views
and i include from users.models import *
then in my code return return current_user;
<
Just add extend_existing=True for roles_users as shown below
# Define models roles_users = db.Table('roles_users', db.Column('user_id', db.Integer(), db.ForeignKey('user.id')), db.Column('role_id', db.Integer(), db.ForeignKey('role.id')), extend_existing=True)