summaryrefslogtreecommitdiff
path: root/pystache/loader.py
Commit message (Collapse)AuthorAgeFilesLines
* Address issue #122: add Renderer.render_name().Chris Jerdonek2012-10-161-0/+2
| | | | | This commit adds a Renderer.render_name() method that lets one render a template given its name.
* Add unit tests for Loader.load_file() and Loader.load_name().Chris Jerdonek2012-07-231-5/+3
|
* Fix the Loader.load_file() and Loader.load_name() docstrings.Chris Jerdonek2012-07-231-4/+0
|
* Added load_file functionxgecko2012-07-211-1/+19
|
* Changed the deprecated (in Python 3) assertNotEquals to assertNotEqual ↵Chris Jerdonek2012-04-081-1/+0
| | | | everywhere.
* All unit tests except for spec tests now work in both Python 2/3.Chris Jerdonek2012-04-081-8/+14
|
* Added module pystache.common with a read(path) function.Chris Jerdonek2012-04-081-7/+3
|
* Renamed _to_unicode to _default_to_unicode.Chris Jerdonek2012-04-071-2/+2
|
* Eliminated one use of the with keyword for Python 2.4 support.Chris Jerdonek2012-04-021-3/+5
|
* Changed more relative imports to absolute for Python 2.4 support.Chris Jerdonek2012-04-021-1/+1
|
* Changed relative imports to absolute for Python 2.4 support.Chris Jerdonek2012-04-021-1/+1
|
* Removed two completed TODO's.Chris Jerdonek2012-04-011-2/+0
|
* Switched the argument order of Locator.find_name() and Locator.find_object().Chris Jerdonek2012-04-011-2/+2
|
* The Renderer class now passes search_dirs to Loader via the constructor.Chris Jerdonek2012-04-011-7/+16
|
* Renamed Locator methods to find_name and find_object.Chris Jerdonek2012-04-011-2/+4
|
* Refactored loader.Loader to use a _make_locator() method.Chris Jerdonek2012-03-311-4/+7
|
* Refactored the Loader class to use the Renderer class's unicode.Chris Jerdonek2012-03-301-32/+55
| | | | | As a result, it is no longer necessary to pass decode_errors to the Loader class.
* Divided Loader.load() into load_name() and load_object().Chris Jerdonek2012-03-281-10/+24
|
* Simplified Renderer class: Renderer now uses new Loader class.Chris Jerdonek2012-03-281-0/+24
|
* Added extension argument to Loader constructor.Chris Jerdonek2012-03-281-4/+12
|
* Added a defaults module with default DECODE_ERRORS and TEMPLATE_EXTENSION ↵Chris Jerdonek2012-03-281-5/+4
| | | | values.
* Renamed Reader class to Loader.Chris Jerdonek2012-03-271-1/+1
|
* Renamed reader module to loader.Chris Jerdonek2012-03-271-0/+73
|
* Renamed loader.py to locator.py.Chris Jerdonek2011-12-281-93/+0
|
* Changed the Loader class to a Locator class.Chris Jerdonek2011-12-281-24/+7
| | | | Now the class no longer has an indirect dependency on the Reader class.
* Moved the function to create a template name from View to loader.py.Chris Jerdonek2011-12-271-0/+24
| | | | This further trims down the View class.
* Switched the Loader class to using the new Reader class.Chris Jerdonek2011-12-261-33/+18
|
* Fixed issue #65: "Loader should accept decode_errors like Renderer"Chris Jerdonek2011-12-231-2/+10
|
* Improved Loader.__init__() docstring slightly.Chris Jerdonek2011-12-231-5/+10
|
* Change Loader.load_template() to Loader.get().Chris Jerdonek2011-12-231-1/+1
|
* Fixed issue #62: "Loader.load_template() should always return unicode"Chris Jerdonek2011-12-211-3/+10
|
* Fixed issue #40.Chris Jerdonek2011-12-181-1/+12
|
* View class now relies on the Loader class's default template extension.Chris Jerdonek2011-12-171-1/+4
|
* Removed the Template.template_path instance attribute.Chris Jerdonek2011-12-101-14/+14
| | | | Also simplified the Template.load_template() method.
* Switched to using os.curdir in the Loader class.Chris Jerdonek2011-12-101-1/+1
|
* The Loader.load_template() method now accepts only a template_name.Chris Jerdonek2011-12-101-14/+7
|
* Added a constructor to the Loader class.Chris Jerdonek2011-12-101-4/+14
| | | | The constructor accepts search_dirs, template_encoding, and template_extension.
* Merge pull request #29 (2) "style and import changes"Chris Jerdonek2011-12-101-15/+32
|\ | | | | | | | | | | | | | | | | | | | | | | From: https://github.com/kennethreitz/pystache/commit/20bec630efed85dd0e4eaa751da2af3db7f64f3e Into: issue_29 This commit makes mostly spacing and docstring tweaks. Not all changes from the parent were incorporated into the commit. Conflicts: pystache/template.py pystache/view.py
| * style and import changesKenneth Reitz2011-08-231-14/+30
|/
* Adding support for template encoding and support for comment and delimeter tags.Carl Whittaker2011-01-121-2/+8
|
* Adding template Loader classCarl Whittaker2011-01-121-0/+41