From 679d446094b168145f5efed8e5cc46096eedf248 Mon Sep 17 00:00:00 2001 From: William Chambers Date: Tue, 2 Nov 2010 13:21:32 -0400 Subject: Changed Pylons templates to use .mako instead of .mak file extensions. --- .../pylons_basic/+package+/handlers/hello.py_tmpl | 2 +- .../+package+/templates/mytemplate.mak | 69 --------------------- .../+package+/templates/mytemplate.mako | 69 +++++++++++++++++++++ .../pylons_minimal/+package+/handlers.py_tmpl | 2 +- .../+package+/templates/mytemplate.mak | 69 --------------------- .../+package+/templates/mytemplate.mako | 69 +++++++++++++++++++++ .../pylons_sqla/+package+/handlers.py_tmpl | 2 +- .../pylons_sqla/+package+/templates/mytemplate.mak | 71 ---------------------- .../+package+/templates/mytemplate.mako | 71 ++++++++++++++++++++++ 9 files changed, 212 insertions(+), 212 deletions(-) delete mode 100644 pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mak create mode 100644 pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako delete mode 100644 pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mak create mode 100644 pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako delete mode 100644 pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mak create mode 100644 pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako 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.mak deleted file mode 100644 index a5a0dd214..000000000 --- a/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mak +++ /dev/null @@ -1,69 +0,0 @@ - - - - The Pyramid Web Application Development Framework - - - - - - - - - -
-
- -

- Welcome to ${project}, an application generated by
- the Pyramid web application development framework. -

-
-
-
-
-
-

Search Pyramid documentation

-
- - -
-
- -
-
- - - \ No newline at end of file diff --git a/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako b/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako new file mode 100644 index 000000000..a5a0dd214 --- /dev/null +++ b/pyramid/paster_templates/pylons_basic/+package+/templates/mytemplate.mako @@ -0,0 +1,69 @@ + + + + The Pyramid Web Application Development Framework + + + + + + + + + +
+
+ +

+ Welcome to ${project}, an application generated by
+ the Pyramid web application development framework. +

+
+
+
+
+
+

Search Pyramid documentation

+
+ + +
+
+ +
+
+ + + \ No newline at end of file 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.mak deleted file mode 100644 index a5a0dd214..000000000 --- a/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mak +++ /dev/null @@ -1,69 +0,0 @@ - - - - The Pyramid Web Application Development Framework - - - - - - - - - -
-
- -

- Welcome to ${project}, an application generated by
- the Pyramid web application development framework. -

-
-
-
-
-
-

Search Pyramid documentation

-
- - -
-
- -
-
- - - \ No newline at end of file diff --git a/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako b/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako new file mode 100644 index 000000000..a5a0dd214 --- /dev/null +++ b/pyramid/paster_templates/pylons_minimal/+package+/templates/mytemplate.mako @@ -0,0 +1,69 @@ + + + + The Pyramid Web Application Development Framework + + + + + + + + + +
+
+ +

+ Welcome to ${project}, an application generated by
+ the Pyramid web application development framework. +

+
+
+
+
+
+

Search Pyramid documentation

+
+ + +
+
+ +
+
+ + + \ No newline at end of file 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.mak deleted file mode 100644 index 7dd2b9e4c..000000000 --- a/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mak +++ /dev/null @@ -1,71 +0,0 @@ - - - - The Pyramid Web Application Development Framework - - - - - - - - - -
-
- -

- Welcome to ${project}, an application generated by
- the Pyramid web application development framework. -

-
-
-
-
-
-

Search Pyramid documentation

-
- - -
-
-

The root object's name is "${root.name}"

-
- -
-
- - - \ No newline at end of file diff --git a/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako b/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako new file mode 100644 index 000000000..7dd2b9e4c --- /dev/null +++ b/pyramid/paster_templates/pylons_sqla/+package+/templates/mytemplate.mako @@ -0,0 +1,71 @@ + + + + The Pyramid Web Application Development Framework + + + + + + + + + +
+
+ +

+ Welcome to ${project}, an application generated by
+ the Pyramid web application development framework. +

+
+
+
+
+
+

Search Pyramid documentation

+
+ + +
+
+

The root object's name is "${root.name}"

+
+ +
+
+ + + \ No newline at end of file -- cgit v1.2.3