# -*- coding: utf-8 -*-

from flask import render_template
from . import main
from ..decorators.login_required import login_required


@main.route("/")
def home():
    return render_template("home.html", title="home")


@main.route("/admin")
@login_required
def admin():
    return render_template("home.html", title="admin")

3ba1f1cb35d3a9e60dda45218ec1db9dacd29468
<mask token>

<mask token>


@main.route('/')
def home():
    return render_template('home.html', title='home')


<mask token>

<mask token>


@main.route('/')
def home():
    return render_template('home.html', title='home')


@main.route('/admin')
@login_required
def admin():
    return render_template('home.html', title='admin')

from flask import render_template
from . import main
from ..decorators.login_required import login_required


@main.route('/')
def home():
    return render_template('home.html', title='home')


@main.route('/admin')
@login_required
def admin():
    return render_template('home.html', title='admin')

# -*- coding: utf-8 -*-

from flask import render_template
from . import main
from ..decorators.login_required import login_required


@main.route("/")
def home():
    return render_template("home.html", title="home")


@main.route("/admin")
@login_required
def admin():
    return render_template("home.html", title="admin")
