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:
17
Master/master/views.py
Normal file
17
Master/master/views.py
Normal 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,
|
||||
)
|
Reference in New Issue
Block a user