make the download form the top-level doc

stable
neingeist 6 years ago
parent 87d4f88bcb
commit d014a11aa9

@ -3,12 +3,7 @@ from app import app
from app.forms import DownloadForm from app.forms import DownloadForm
from datetime import datetime, timedelta from datetime import datetime, timedelta
@app.route('/') @app.route('/', methods=['GET', 'POST'])
@app.route('/index')
def index():
return render_template('index.html')
@app.route('/download', methods=['GET', 'POST'])
def download(): def download():
form = DownloadForm() form = DownloadForm()
if form.validate_on_submit(): if form.validate_on_submit():

@ -1,5 +0,0 @@
{% extends "base.html" %}
{% block app_content %}
<h1>Hello!</h1>
{% endblock %}
Loading…
Cancel
Save