diff options
| author | William Chambers <william@bioselement.com> | 2010-11-02 13:21:32 -0400 |
|---|---|---|
| committer | William Chambers <william@bioselement.com> | 2010-11-02 13:21:32 -0400 |
| commit | 679d446094b168145f5efed8e5cc46096eedf248 (patch) | |
| tree | 22e156805e7d2321070d70e067f9f8bb6770a5d0 | |
| parent | 968f469e9b9e5223208b6f86182e9466322646e0 (diff) | |
| download | pyramid-679d446094b168145f5efed8e5cc46096eedf248.tar.gz pyramid-679d446094b168145f5efed8e5cc46096eedf248.tar.bz2 pyramid-679d446094b168145f5efed8e5cc46096eedf248.zip | |
Changed Pylons templates to use .mako instead of .mak file extensions.
| -rw-r--r-- | pyramid/paster_templates/pylons_basic/+package+/handlers/hello.py_tmpl | 2 | ||||
| -rw-r--r-- | pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako (renamed from pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mak) | 0 | ||||
| -rw-r--r-- | pyramid/paster_templates/pylons_minimal/+package+/handlers.py_tmpl | 2 | ||||
| -rw-r--r-- | pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako (renamed from pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mak) | 0 | ||||
| -rw-r--r-- | pyramid/paster_templates/pylons_sqla/+package+/handlers.py_tmpl | 2 | ||||
| -rw-r--r-- | pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako (renamed from pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mak) | 0 |
6 files changed, 3 insertions, 3 deletions
diff --git a/pyramid/paster_templates/pylons_basic/+package+/handlers/hello.py_tmpl b/pyramid/paster_templates/pylons_basic/+package+/handlers/hello.py_tmpl index 696772798..98308b384 100644 --- a/pyramid/paster_templates/pylons_basic/+package+/handlers/hello.py_tmpl +++ b/pyramid/paster_templates/pylons_basic/+package+/handlers/hello.py_tmpl @@ -4,6 +4,6 @@ class HelloHandler(object): def __init__(self, request): self.request = request - @action(renderer='mytemplate.mak') + @action(renderer='mytemplate.mako') def index(self): return {'project':'{{project}}'} diff --git a/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mak b/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako index a5a0dd214..a5a0dd214 100644 --- a/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mak +++ b/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako diff --git a/pyramid/paster_templates/pylons_minimal/+package+/handlers.py_tmpl b/pyramid/paster_templates/pylons_minimal/+package+/handlers.py_tmpl index be1202551..0a97a3348 100644 --- a/pyramid/paster_templates/pylons_minimal/+package+/handlers.py_tmpl +++ b/pyramid/paster_templates/pylons_minimal/+package+/handlers.py_tmpl @@ -4,6 +4,6 @@ class MyHandler(object): def __init__(self, request): self.request = request - @action(renderer='mytemplate.mak') + @action(renderer='mytemplate.mako') def index(self): return {'project':'{{project}}'} diff --git a/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mak b/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako index a5a0dd214..a5a0dd214 100644 --- a/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mak +++ b/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako diff --git a/pyramid/paster_templates/pylons_sqla/+package+/handlers.py_tmpl b/pyramid/paster_templates/pylons_sqla/+package+/handlers.py_tmpl index ce30a635e..afc8aa41e 100644 --- a/pyramid/paster_templates/pylons_sqla/+package+/handlers.py_tmpl +++ b/pyramid/paster_templates/pylons_sqla/+package+/handlers.py_tmpl @@ -6,7 +6,7 @@ class MyHandler(object): def __init__(self, request): self.request = request - @action(renderer='mytemplate.mak') + @action(renderer='mytemplate.mako') def index(self): root = MyModel.by_name('root') return {'root':root, 'project':'{{package}}'} diff --git a/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mak b/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako index 7dd2b9e4c..7dd2b9e4c 100644 --- a/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mak +++ b/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako |
