import os

from flask import Flask, session, render_template
from .core import db, intialize_db_config

# create the Flask
app = Flask(__name__)

# configure the app
app.config.from_mapping(
    SECRET_KEY='dev'
)

intialize_db_config(app)

# a simple test route
@app.route('/hello')
def hello():
    return 'Hello, World!'

@app.route('/showsession')
def show_session():
    return render_template('session.html')

# register the 'user' blueprint
from .views import user
app.register_blueprint(user.bp)

# register the 'home' blueprint
from .views import home
app.register_blueprint(home.bp)

# register the 'tasklists' blueprint
from .views import tasklists
app.register_blueprint(tasklists.bp)

# register the 'task' blueprint
from .views import task
app.register_blueprint(task.bp)
9031c33e386b0de9ddf635f866bc8f1824c3b901
<mask token>


@app.route('/hello')
def hello():
    return 'Hello, World!'


@app.route('/showsession')
def show_session():
    return render_template('session.html')


<mask token>

<mask token>
app.config.from_mapping(SECRET_KEY='dev')
intialize_db_config(app)


@app.route('/hello')
def hello():
    return 'Hello, World!'


@app.route('/showsession')
def show_session():
    return render_template('session.html')


<mask token>
app.register_blueprint(user.bp)
<mask token>
app.register_blueprint(home.bp)
<mask token>
app.register_blueprint(tasklists.bp)
<mask token>
app.register_blueprint(task.bp)

<mask token>
app = Flask(__name__)
app.config.from_mapping(SECRET_KEY='dev')
intialize_db_config(app)


@app.route('/hello')
def hello():
    return 'Hello, World!'


@app.route('/showsession')
def show_session():
    return render_template('session.html')


<mask token>
app.register_blueprint(user.bp)
<mask token>
app.register_blueprint(home.bp)
<mask token>
app.register_blueprint(tasklists.bp)
<mask token>
app.register_blueprint(task.bp)

import os
from flask import Flask, session, render_template
from .core import db, intialize_db_config
app = Flask(__name__)
app.config.from_mapping(SECRET_KEY='dev')
intialize_db_config(app)


@app.route('/hello')
def hello():
    return 'Hello, World!'


@app.route('/showsession')
def show_session():
    return render_template('session.html')


from .views import user
app.register_blueprint(user.bp)
from .views import home
app.register_blueprint(home.bp)
from .views import tasklists
app.register_blueprint(tasklists.bp)
from .views import task
app.register_blueprint(task.bp)

import os

from flask import Flask, session, render_template
from .core import db, intialize_db_config

# create the Flask
app = Flask(__name__)

# configure the app
app.config.from_mapping(
    SECRET_KEY='dev'
)

intialize_db_config(app)

# a simple test route
@app.route('/hello')
def hello():
    return 'Hello, World!'

@app.route('/showsession')
def show_session():
    return render_template('session.html')

# register the 'user' blueprint
from .views import user
app.register_blueprint(user.bp)

# register the 'home' blueprint
from .views import home
app.register_blueprint(home.bp)

# register the 'tasklists' blueprint
from .views import tasklists
app.register_blueprint(tasklists.bp)

# register the 'task' blueprint
from .views import task
app.register_blueprint(task.bp)