Remove submodule, just put Dependencies in ./libs

This commit is contained in:
Ruud
2011-02-28 15:25:42 +01:00
parent 2fb578d4de
commit 6888798ef6
541 changed files with 173394 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
"""
werkzeug.debug.utils
~~~~~~~~~~~~~~~~~~~~
Various other utilities.
:copyright: (c) 2010 by the Werkzeug Team, see AUTHORS for more details.
:license: BSD.
"""
from os.path import join, dirname
from werkzeug.templates import Template
def get_template(filename):
return Template.from_file(join(dirname(__file__), 'templates', filename))
def render_template(template_filename, **context):
return get_template(template_filename).render(**context)