summaryrefslogtreecommitdiff
path: root/repoze/bfg/sampleapp/views.py
AgeCommit message (Collapse)Author
2008-08-24 - Remove ``sampleapp`` sample application from bfg package itself.Chris McDonough
- Remove dependency on FormEncode (only needed by sampleapp). - Fix paster template generation so that case-sensitivity is preserved for project vs. package name. - Depend on ``z3c.pt`` version 1.0a1 (which requires the ``[lxml]`` extra currently).
2008-07-19 - The concept of "view factories" was removed in favor of alwaysChris McDonough
calling a view, which is a callable that returns a response directly (as opposed to returning a view). As a result, the ``factory`` attribute in the bfg:view ZCML statement has been renamed to ``view``. Various interface names were changed also. - ``render_template`` and ``render_transform`` no longer return a Response object. Instead, these return strings. The old behavior can be obtained by using ``render_template_to_response`` and ``render_transform_to_response``.
2008-07-16Add convenience has_permission function.Chris McDonough
2008-07-16Add security.Chris McDonough
2008-07-14Fix.Chris McDonough
2008-07-14Really allow views to be functions.Chris McDonough
2008-07-14Make sample app work.Chris McDonough
2008-07-14Render templates explicitly in views.Chris McDonough
2008-07-14And, just to maximally confuse Paul, come full circle, and don't require ↵Chris McDonough
that the template be spelled on the class, while still allowing us to pickle the registry actions.
2008-07-14Less magical templated view model: make custom template views responsible for Chris McDonough
knowing their template's name.
2008-07-12Use a djangoesque layout and naming scheme.Chris McDonough