1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

adding master api project

This commit is contained in:
RaidMax
2018-04-18 15:46:53 -05:00
parent 5dca4e7065
commit 2f336c1291
32 changed files with 769 additions and 4 deletions

17
Master/master/views.py Normal file
View File

@ -0,0 +1,17 @@
"""
Routes and views for the flask application.
"""
from datetime import datetime
from flask import render_template
from master import app
@app.route('/')
@app.route('/home')
def home():
"""Renders the home page."""
return render_template(
'index.html',
title='Home Page',
year=datetime.now().year,
)