Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Address issue #122: add Renderer.render_name(). | Chris Jerdonek | 2012-10-16 | 1 | -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 Jerdonek | 2012-07-23 | 1 | -5/+3 |
| | |||||
* | Fix the Loader.load_file() and Loader.load_name() docstrings. | Chris Jerdonek | 2012-07-23 | 1 | -4/+0 |
| | |||||
* | Added load_file function | xgecko | 2012-07-21 | 1 | -1/+19 |
| | |||||
* | Changed the deprecated (in Python 3) assertNotEquals to assertNotEqual ↵ | Chris Jerdonek | 2012-04-08 | 1 | -1/+0 |
| | | | | everywhere. | ||||
* | All unit tests except for spec tests now work in both Python 2/3. | Chris Jerdonek | 2012-04-08 | 1 | -8/+14 |
| | |||||
* | Added module pystache.common with a read(path) function. | Chris Jerdonek | 2012-04-08 | 1 | -7/+3 |
| | |||||
* | Renamed _to_unicode to _default_to_unicode. | Chris Jerdonek | 2012-04-07 | 1 | -2/+2 |
| | |||||
* | Eliminated one use of the with keyword for Python 2.4 support. | Chris Jerdonek | 2012-04-02 | 1 | -3/+5 |
| | |||||
* | Changed more relative imports to absolute for Python 2.4 support. | Chris Jerdonek | 2012-04-02 | 1 | -1/+1 |
| | |||||
* | Changed relative imports to absolute for Python 2.4 support. | Chris Jerdonek | 2012-04-02 | 1 | -1/+1 |
| | |||||
* | Removed two completed TODO's. | Chris Jerdonek | 2012-04-01 | 1 | -2/+0 |
| | |||||
* | Switched the argument order of Locator.find_name() and Locator.find_object(). | Chris Jerdonek | 2012-04-01 | 1 | -2/+2 |
| | |||||
* | The Renderer class now passes search_dirs to Loader via the constructor. | Chris Jerdonek | 2012-04-01 | 1 | -7/+16 |
| | |||||
* | Renamed Locator methods to find_name and find_object. | Chris Jerdonek | 2012-04-01 | 1 | -2/+4 |
| | |||||
* | Refactored loader.Loader to use a _make_locator() method. | Chris Jerdonek | 2012-03-31 | 1 | -4/+7 |
| | |||||
* | Refactored the Loader class to use the Renderer class's unicode. | Chris Jerdonek | 2012-03-30 | 1 | -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 Jerdonek | 2012-03-28 | 1 | -10/+24 |
| | |||||
* | Simplified Renderer class: Renderer now uses new Loader class. | Chris Jerdonek | 2012-03-28 | 1 | -0/+24 |
| | |||||
* | Added extension argument to Loader constructor. | Chris Jerdonek | 2012-03-28 | 1 | -4/+12 |
| | |||||
* | Added a defaults module with default DECODE_ERRORS and TEMPLATE_EXTENSION ↵ | Chris Jerdonek | 2012-03-28 | 1 | -5/+4 |
| | | | | values. | ||||
* | Renamed Reader class to Loader. | Chris Jerdonek | 2012-03-27 | 1 | -1/+1 |
| | |||||
* | Renamed reader module to loader. | Chris Jerdonek | 2012-03-27 | 1 | -0/+73 |
| | |||||
* | Renamed loader.py to locator.py. | Chris Jerdonek | 2011-12-28 | 1 | -93/+0 |
| | |||||
* | Changed the Loader class to a Locator class. | Chris Jerdonek | 2011-12-28 | 1 | -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 Jerdonek | 2011-12-27 | 1 | -0/+24 |
| | | | | This further trims down the View class. | ||||
* | Switched the Loader class to using the new Reader class. | Chris Jerdonek | 2011-12-26 | 1 | -33/+18 |
| | |||||
* | Fixed issue #65: "Loader should accept decode_errors like Renderer" | Chris Jerdonek | 2011-12-23 | 1 | -2/+10 |
| | |||||
* | Improved Loader.__init__() docstring slightly. | Chris Jerdonek | 2011-12-23 | 1 | -5/+10 |
| | |||||
* | Change Loader.load_template() to Loader.get(). | Chris Jerdonek | 2011-12-23 | 1 | -1/+1 |
| | |||||
* | Fixed issue #62: "Loader.load_template() should always return unicode" | Chris Jerdonek | 2011-12-21 | 1 | -3/+10 |
| | |||||
* | Fixed issue #40. | Chris Jerdonek | 2011-12-18 | 1 | -1/+12 |
| | |||||
* | View class now relies on the Loader class's default template extension. | Chris Jerdonek | 2011-12-17 | 1 | -1/+4 |
| | |||||
* | Removed the Template.template_path instance attribute. | Chris Jerdonek | 2011-12-10 | 1 | -14/+14 |
| | | | | Also simplified the Template.load_template() method. | ||||
* | Switched to using os.curdir in the Loader class. | Chris Jerdonek | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | The Loader.load_template() method now accepts only a template_name. | Chris Jerdonek | 2011-12-10 | 1 | -14/+7 |
| | |||||
* | Added a constructor to the Loader class. | Chris Jerdonek | 2011-12-10 | 1 | -4/+14 |
| | | | | The constructor accepts search_dirs, template_encoding, and template_extension. | ||||
* | Merge pull request #29 (2) "style and import changes" | Chris Jerdonek | 2011-12-10 | 1 | -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 changes | Kenneth Reitz | 2011-08-23 | 1 | -14/+30 |
|/ | |||||
* | Adding support for template encoding and support for comment and delimeter tags. | Carl Whittaker | 2011-01-12 | 1 | -2/+8 |
| | |||||
* | Adding template Loader class | Carl Whittaker | 2011-01-12 | 1 | -0/+41 |