defunkt / pystache

Mustache in Python
http://mustache.github.com/
MIT License
1.31k stars 308 forks source link

Allow ParsedTemplate as partials #170

Open bradleyy opened 9 years ago

bradleyy commented 9 years ago

The current engine only allows unicode strings as partials; using a pre-parsed template provides a fairly significant performance benefit.

Included a test to verify this as working.