Commit Graph

21 Commits

Author SHA1 Message Date
Carl Whittaker c9dcb07630 Merge branch 'master' into development
Conflicts:
	examples/inverted.py
	pystache/template.py
	tests/test_pystache.py
	tests/test_view.py
2011-05-31 17:35:32 +01:00
Mark Paschal a78d3f65d6 Add test for inverted sections on list values 2011-05-09 18:24:22 -07:00
Carl Whittaker 4b58929589 Adding test for flattened dictionary 2011-01-28 11:06:00 +00:00
Carl Whittaker 2825d34eef Removing cruft. 2011-01-27 17:29:04 +00:00
Carl Whittaker 0a655dc6dc Adding magic attribute to fetch a flattened context 2011-01-27 17:04:10 +00:00
Carl Whittaker 8eac16d8a9 Adding support for context nested on any flavoured object. 2011-01-27 16:28:54 +00:00
Carl Whittaker 16ce94a29e Moving context logic into view 2011-01-27 15:50:45 +00:00
Carl Whittaker bb549161dc Adding tests for negated (empty list) tag, partials in loops not referencing parent values. 2011-01-11 14:24:24 +00:00
Kevin Morgan 78982f6bc4 Adding tests for a hierarchy of partials and lambdas in each. 2010-12-13 21:37:28 +00:00
Kevin Morgan 5f35d31248 Only returning functions when they are unbounded methods otherwise they get called in the return and fail. 2010-12-13 18:22:05 +00:00
David Logie 9c0b92919a Inverted sections. 2010-05-04 03:17:28 +08:00
David Logie 830f9fd964 Higher Order Sections. 2010-05-04 03:17:27 +08:00
Damien Lebrun 85efd80848 View.template_path can hold a list of path
View.load_template start looking for the template
in first path of the list.
2010-03-29 06:49:59 +08:00
Joshua Roesslein 65646c81ff Allow using View instances as attributes. 2009-11-16 17:37:58 -08:00
Joshua Roesslein f03c85c70b Add support for using non-callables as View attributes. 2009-11-16 17:35:29 -08:00
Chris Wanstrath be021363c4 Tests can be run by executing the test file directly 2009-11-13 15:31:54 -08:00
Chris Wanstrath 89d8c829e4 whitespace 2009-11-12 19:22:57 -08:00
Chris Wanstrath 7df1984375 make complex_view test pass 2009-11-06 17:40:30 -08:00
Chris Wanstrath d68ae32fda Add failing (but almost passing) ComplexView test. Fixes #2 2009-11-05 19:50:47 -08:00
Chris Wanstrath 8de2493efc failing pizza test 2009-10-30 11:02:23 -07:00
Chris Wanstrath 59ece1feff basic subclassable view support 2009-10-30 11:01:25 -07:00