Skip to content

Commit

Permalink
Change extension templates: *.html to *.jinja2
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeancos committed Feb 28, 2014
1 parent d81886d commit e177a36
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ def put_session(session):


def render_not_found():
render_view = render_template('app/templates/404.html')
render_view = render_template('app/templates/404.jinja2')
return notfound(render_view)


def render_internal_error():
render_view = render_template('app/templates/500.html')
render_view = render_template('app/templates/500.jinja2')
return internalerror(render_view)


Expand Down
2 changes: 1 addition & 1 deletion app/templates/404.html → app/templates/404.jinja2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "app/templates/base.html" %}
{% extends "app/templates/base.jinja2" %}

{% block title %}Page not found 404{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion app/templates/500.html → app/templates/500.jinja2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "app/templates/base.html" %}
{% extends "app/templates/base.jinja2" %}

{% block title %}Server error 500{% endblock %}

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion bundles/ExampleBundle/controllers/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ def GET(self):
"""
Example Controller WebpySkeleton
"""
return render_template('bundles/ExampleBundle/views/index.html')
return render_template('bundles/ExampleBundle/views/index.jinja2')
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "app/templates/base.html" %}
{% extends "app/templates/base.jinja2" %}

{% block title %}Example View WebPySkeleton{% endblock %}

Expand Down

0 comments on commit e177a36

Please sign in to comment.