summaryrefslogtreecommitdiffstats
path: root/modules/home/views.py
diff options
context:
space:
mode:
authorTeddy Wing2015-01-31 18:59:36 -0500
committerTeddy Wing2015-01-31 21:14:20 -0500
commitd3e8f7e010bf60bc0837cfe4e106d8133ce31ce6 (patch)
tree972f13735cbb86e8f26277f402fe752680eda6a0 /modules/home/views.py
parentf0df9efaaf56b35c7b41d818bfa6f09b7aceb38e (diff)
downloadedu-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.py4
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')