skip to navigation
skip to content

Not Logged In

gears-handlebars 0.1.2

Handlebars compiler for Gears

Latest Version: 0.1.7

Handlebars compiler for Gears. This package already includes the Handlebars source code for you, so you don't need to worry about installing it yourself.

Bundled Handlebars version: 1.0.7

Installation

Install gears-handlebars with pip:

$ pip install gears-handlebars

Requirements

gears-handlebars requires node.js to be installed in your system.

Usage

Add gears_handlebars.HandlebarsCompiler to environment's compilers registry:

from gears_handlebars import HandlebarsCompiler
environment.compilers.register('.handlebars', HandlebarsCompiler.as_handler())

If you use Gears in your Django project, add this code to its settings:

GEARS_COMPILERS = {
    '.handlebars': 'gears_handlebars.HandlebarsCompiler',
}
 
File Type Py Version Uploaded on Size
gears-handlebars-0.1.2.tar.gz (md5) Source 2012-09-23 371KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 130 downloads in the last week
  • 724 downloads in the last month