From fb30035ec15d56ac93362160e08f0ffbbfdd1212 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 4 Nov 2010 21:13:54 -0400 Subject: - Move static dir from pkg/templates/ to /pkg/ in pyramid_* paster templates. --- docs/narr/MyProject/myproject/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/narr/MyProject/myproject/__init__.py') diff --git a/docs/narr/MyProject/myproject/__init__.py b/docs/narr/MyProject/myproject/__init__.py index 2dbaf0a88..ac6ece3c1 100644 --- a/docs/narr/MyProject/myproject/__init__.py +++ b/docs/narr/MyProject/myproject/__init__.py @@ -12,7 +12,7 @@ def app(global_config, **settings): config.add_view('myproject.views.my_view', context='myproject.models.MyModel', renderer='myproject:templates/mytemplate.pt') - config.add_static_view('static', 'myproject:templates/static') + config.add_static_view('static', 'myproject:static') config.end() return config.make_wsgi_app() -- cgit v1.2.3