How to setup with blueprints? #611
-
|
Can someone please advise how to set this up with blueprints? I'm assuming it should go in init.py and at the moment I have: I keep getting a circular import error when importing models at the top which is why I originally had it down the bottom (commented out) but I need to import User and Role from models for SQLAlchemyUserDatastore(db, User, Role)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Very common problem when first working with Flask! Look at examples/unified_signin/server for one way to do this. Let me know if that helps. |
Beta Was this translation helpful? Give feedback.
Very common problem when first working with Flask!
Look at examples/unified_signin/server for one way to do this. Let me know if that helps.