dashboard
repositories
filestore
activity
search
login
RedHatTraining
/
pyramid
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
move package to src folder
Michael Merickel
2018-10-15
2b024920847481592b1a13d4006d2a9fa8881d72
[RedHatTraining/pyramid.git]
/
src
/
pyramid
/
scaffolds
/
starter
/
+package+
/
views.py_tmpl
1
2
3
4
5
6
from pyramid.view import view_config
@view_config(route_name='home', renderer='templates/mytemplate.jinja2')
def my_view(request):
return {'project': '{{project}}'}