diff options
| author | Teddy Wing | 2015-01-31 18:59:36 -0500 | 
|---|---|---|
| committer | Teddy Wing | 2015-01-31 21:14:20 -0500 | 
| commit | d3e8f7e010bf60bc0837cfe4e106d8133ce31ce6 (patch) | |
| tree | 972f13735cbb86e8f26277f402fe752680eda6a0 /modules/home/views.py | |
| parent | f0df9efaaf56b35c7b41d818bfa6f09b7aceb38e (diff) | |
| download | edu-net-d3e8f7e010bf60bc0837cfe4e106d8133ce31ce6.tar.bz2 | |
Render base.html at index pageindex-page
* Update routes to use the `add_url_rule` syntax
* Create base.html
* Create a home module and views.py file to serve the home page
Diffstat (limited to 'modules/home/views.py')
| -rw-r--r-- | modules/home/views.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/modules/home/views.py b/modules/home/views.py new file mode 100644 index 0000000..3d18aa8 --- /dev/null +++ b/modules/home/views.py @@ -0,0 +1,4 @@ +from flask import render_template + +def index_view(): +    return render_template('base.html') | 
