Create 3 essential routes

master
Neslihan 4 years ago
parent 7f8900d36c
commit 8dd0e52081
  1. 5
      app/__init__.py
  2. 16
      app/routes.py

@ -0,0 +1,5 @@
from flask import Flask
app = Flask(__name__)
from app import routes

@ -0,0 +1,16 @@
from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"
@app.route('/login')
def index():
return "Hello, World!"
@app.route('/admin')
def index():
return "Hello, World!"
Loading…
Cancel
Save