-
Notifications
You must be signed in to change notification settings - Fork 101
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
ImportError: cannot import name 'app' #3
Comments
I believe it is a circular dependency issue. like in this one https://stackoverflow.com/questions/17845366/importerror-cannot-import-name/17845428 I am dealing with it now. |
The probable workaround, I'm not very good at describing the solution, but I'll try: So we're trying to avoid the circular reference by:
Steps:
Don't get distracted by other code in this flasky project (although it's a great project to learn from), focus on getting the same structure. |
@wadi-it-bc Could you please explain a bit what the two-sided double asterisks current_app do? |
@chuck-tz Argh, I made a typo, sorry! |
mail_services.py cannot import app. I tried some much thing for this relative importing but nothing happend still getting this error
The text was updated successfully, but these errors were encountered: