summaryrefslogtreecommitdiff
path: root/docs/narr/MyProject/myproject/views.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-08-24 01:58:26 +0000
committerChris McDonough <chrism@agendaless.com>2008-08-24 01:58:26 +0000
commit2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7 (patch)
treeee9557256044c720a71bb67341df5413dc0c21a6 /docs/narr/MyProject/myproject/views.py
parent980db5f3a1b2e7c8f46136f42ea521ee6987da7c (diff)
downloadpyramid-2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7.tar.gz
pyramid-2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7.tar.bz2
pyramid-2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7.zip
Second checkin using StudlyCaps version of MyProject.
Diffstat (limited to 'docs/narr/MyProject/myproject/views.py')
-rw-r--r--docs/narr/MyProject/myproject/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/narr/MyProject/myproject/views.py b/docs/narr/MyProject/myproject/views.py
new file mode 100644
index 000000000..6e1be6190
--- /dev/null
+++ b/docs/narr/MyProject/myproject/views.py
@@ -0,0 +1,5 @@
+from repoze.bfg.template import render_template_to_response
+
+def my_view(context, request):
+ return render_template_to_response('templates/mytemplate.pt',
+ project = 'myproject')