gears-handlebars 0.1.7

Handlebars compiler for Gears

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
ISC License (ISCL) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Mike Yumatov
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Programming \ Compilers
gears-handlebars already includes the Handlebars source code for you, so you don't need to worry about installing it yourself.

Installation

Install gears-handlebars with pip:

 pip install gears-handlebars

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',
}

Last updated on August 27th, 2012

requirements

#handlebars compiler #Gears compiler #Python #Gears #handlebars #compiler

Add your review!

SUBMIT