Commit 3b9c43d5 authored by ishan masdekar's avatar ishan masdekar

Created views package for control logic

parent 9ee3451f
......@@ -26,7 +26,7 @@ pyramid.includes =
[server:main]
use = egg:waitress#main
host = 127.0.0.1
port = 6543
port = 6544
###
# logging configuration
......
......@@ -16,7 +16,7 @@ def main(global_config, **settings):
config.include('pyramid_jinja2')
config.add_static_view('static', 'static')
config.add_view('gkwebapp.views.my_view',
config.add_view('gkwebapp.views.views.my_view',
context='gkwebapp.resources.MyResource',
renderer="templates/mytemplate.jinja2")
......
import views
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment