I am starting a flask project, and in my code I have
from flask import Flask, render_template, abort
app = Flask(__name__)
Now what exactly is app?
I am following this guide and I am particularly confused about the structure because he has chosen to have directory named app/ and is his app/__init__.py he has
from flask import Flask
app = Flask(__name__)
from app import views
and in his app/views.py he has
from app import app
What the hell is it with all these app's?!
from app import app? - kasperhj