"""
mhacks index (main) view.

URLs include:
/
"""
import flask
import mhacks


@mhacks.app.route('/', methods=['GET', 'POST'])
def show_index():
    """Show Signup or Login page."""
    if 'username' in flask.session:
        return flask.redirect(flask.url_for('home')) # Need to fix redirect

    return flask.render_template("index.html")

703ddbc54a2b62b60305a2c356363c3a03b9cbf8
<mask token>

<mask token>


@mhacks.app.route('/', methods=['GET', 'POST'])
def show_index():
    """Show Signup or Login page."""
    if 'username' in flask.session:
        return flask.redirect(flask.url_for('home'))
    return flask.render_template('index.html')

<mask token>
import flask
import mhacks


@mhacks.app.route('/', methods=['GET', 'POST'])
def show_index():
    """Show Signup or Login page."""
    if 'username' in flask.session:
        return flask.redirect(flask.url_for('home'))
    return flask.render_template('index.html')

"""
mhacks index (main) view.

URLs include:
/
"""
import flask
import mhacks


@mhacks.app.route('/', methods=['GET', 'POST'])
def show_index():
    """Show Signup or Login page."""
    if 'username' in flask.session:
        return flask.redirect(flask.url_for('home')) # Need to fix redirect

    return flask.render_template("index.html")
