Skip to content
Myr

Adds the largerapp from the docs as an example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by wgwz · committed by wgwz · parent 079d752 · Browse files · 7 files+19 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+19 added−0 removed

  • other:+19 added−0 removed

7 files+19 added−0 removed

added:examples/largerapp/yourapplication/static/style.css
added:examples/largerapp/yourapplication/templates/index.html
added:examples/largerapp/yourapplication/templates/layout.html
added:examples/largerapp/yourapplication/templates/login.html
added:examples/largerapp/yourapplication/__init__.py+4 added
1from flask import Flask2app = Flask(__name__)34import yourapplication.views
added:examples/largerapp/yourapplication/views.py+5 added
1from yourapplication import app23@app.route('/')4def index():5 return 'Hello World!'
added:examples/largerapp/setup.py+10 added
1from setuptools import setup23setup(4 name='yourapplication',5 packages=['yourapplication'],6 include_package_data=True,7 install_requires=[8 'flask',9 ],10)