more struture and codes for application
This commit is contained in:
8
app/views/main.py
Normal file
8
app/views/main.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from flask import render_template
|
||||
from app import app
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template('principal.html')
|
||||
Reference in New Issue
Block a user