diff options
author | piernov <piernov@piernov.org> | 2015-02-28 21:57:08 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2015-02-28 21:57:08 +0100 |
commit | 385971456e6cbdab055263d717023c5cb17ab72a (patch) | |
tree | a33d996cfbd174ee97045e8c59f57d68fc177b99 | |
parent | 2a8cf25c394d9bd89d5d9bfb34bc6b32c3a61454 (diff) | |
download | jm2l-385971456e6cbdab055263d717023c5cb17ab72a.tar.gz jm2l-385971456e6cbdab055263d717023c5cb17ab72a.tar.bz2 jm2l-385971456e6cbdab055263d717023c5cb17ab72a.tar.xz jm2l-385971456e6cbdab055263d717023c5cb17ab72a.zip |
Rename *.mak to *.mako for consistency
-rw-r--r-- | jm2l/templates/Errors/404.mako (renamed from jm2l/templates/Errors/404.mak) | 0 | ||||
-rw-r--r-- | jm2l/templates/Profil/Sejour.mako (renamed from jm2l/templates/Profil/Sejour.mak) | 0 | ||||
-rw-r--r-- | jm2l/templates/index_profil.mako | 2 | ||||
-rw-r--r-- | jm2l/templates/jm2l.mako | 2 | ||||
-rw-r--r-- | jm2l/views.py | 6 |
5 files changed, 5 insertions, 5 deletions
diff --git a/jm2l/templates/Errors/404.mak b/jm2l/templates/Errors/404.mako index 6379cd4..6379cd4 100644 --- a/jm2l/templates/Errors/404.mak +++ b/jm2l/templates/Errors/404.mako diff --git a/jm2l/templates/Profil/Sejour.mak b/jm2l/templates/Profil/Sejour.mako index 3fcd647..3fcd647 100644 --- a/jm2l/templates/Profil/Sejour.mak +++ b/jm2l/templates/Profil/Sejour.mako diff --git a/jm2l/templates/index_profil.mako b/jm2l/templates/index_profil.mako index 6e0f27c..87667a4 100644 --- a/jm2l/templates/index_profil.mako +++ b/jm2l/templates/index_profil.mako @@ -1,6 +1,6 @@ <%inherit file="jm2l:templates/layout.mako"/> <%namespace name="profil" file="jm2l:templates/Profil/Profil.mako"/> -<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mak"/> +<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mako"/> <%namespace name="intendance" file="jm2l:templates/Logistique/Logistique.mako"/> <% from pyramid.security import authenticated_userid diff --git a/jm2l/templates/jm2l.mako b/jm2l/templates/jm2l.mako index fc2043b..7ee2700 100644 --- a/jm2l/templates/jm2l.mako +++ b/jm2l/templates/jm2l.mako @@ -1,6 +1,6 @@ <%inherit file="jm2l:templates/layout.mako"/> <%namespace name="profil" file="jm2l:templates/Profil/Profil.mako"/> -<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mak"/> +<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mako"/> <%namespace name="intendance" file="jm2l:templates/Logistique/Logistique.mako"/> <%namespace name="intervention" file="jm2l:templates/Interventions/Interventions.mako"/> <%namespace name="h" file="jm2l:templates/helpers.mako"/> diff --git a/jm2l/views.py b/jm2l/views.py index d11372c..e3485ae 100644 --- a/jm2l/views.py +++ b/jm2l/views.py @@ -1058,7 +1058,7 @@ def link_role_entity(request): @notfound_view_config() def notfound(reason, request): request.response.status = 404 - return render_to_response('jm2l:templates/Errors/404.mak', { "reason":reason }, + return render_to_response('jm2l:templates/Errors/404.mako', { "reason":reason }, request=request) @@ -1066,5 +1066,5 @@ def notfound(reason, request): def forbidden(reason, request): #return Response('forbidden') request.response.status = 404 - return render_to_response('jm2l:templates/Errors/404.mak', { "reason":reason }, - request=request)
\ No newline at end of file + return render_to_response('jm2l:templates/Errors/404.mako', { "reason":reason }, + request=request) |