make the download form the top-level doc
This commit is contained in:
parent
87d4f88bcb
commit
d014a11aa9
2 changed files with 1 additions and 11 deletions
|
@ -3,12 +3,7 @@ from app import app
|
|||
from app.forms import DownloadForm
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
@app.route('/')
|
||||
@app.route('/index')
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
@app.route('/download', methods=['GET', 'POST'])
|
||||
@app.route('/', methods=['GET', 'POST'])
|
||||
def download():
|
||||
form = DownloadForm()
|
||||
if form.validate_on_submit():
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block app_content %}
|
||||
<h1>Hello!</h1>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue