summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki2/definingviews.rst
AgeCommit message (Collapse)Author
2010-10-25remove bfgwiki2 old dirChris McDonough
2010-09-08- The ``repoze.bfg.urldispatch.Route`` constructor (not an API) nowChris McDonough
accepts a different ordering of arguments. Previously it was ``(pattern, name, factory=None, predicates=())``. It is now ``(name, pattern, factory=None, predicates=())``. This is in support of consistency with ``configurator.add_route``. - The ``repoze.bfg.urldispatch.RoutesMapper.connect`` method (not an API) now accepts a different ordering of arguments. Previously it was ``(pattern, name, factory=None, predicates=())``. It is now ``(name, pattern, factory=None, predicates=())``. This is in support of consistency with ``configurator.add_route``. - The ``repoze.bfg.urldispatch.RoutesMapper`` object now has a ``get_route`` method which returns a single Route object or ``None``. - A new interface ``repoze.bfg.interfaces.IRoute`` was added. The ``repoze.bfg.urldispatch.Route`` object implements this interface. - The canonical attribute for accessing the routing pattern from a route object is now ``pattern`` rather than ``path``. - The argument to ``repoze.bfg.configuration.Configurator.add_route`` which was previously called ``path`` is now called ``pattern`` for better explicability. For backwards compatibility purposes, passing a keyword argument named ``path`` to ``add_route`` will still work indefinitely. - The ``path`` attribute to the ZCML ``route`` directive is now named ``pattern`` for better explicability. The older ``path`` attribute will continue to work indefinitely. - All narrative, API, and tutorial docs which referred to a route pattern as a ``path`` have now been updated to refer to them as a ``pattern``. - The routesalchemy template has been updated to use ``pattern`` in its route declarations rather than ``path``.
2010-06-23- The authorization chapter of the SQLAlchemy Wiki TutorialChris McDonough
(docs/tutorials/bfgwiki2) was changed to demonstrate authorization via a group rather than via a direct username.
2010-01-11Merge of andrew-docs branch.Chris McDonough
2010-01-03Speling.Chris McDonough
2009-12-28Adjust for 7.5x9.25in output.Chris McDonough
2009-12-24Roles and refresh.Chris McDonough
2009-10-11Use 1.1 index.Chris McDonough
Explain where "request" comes from in templates.
2009-10-10Move to renderers.Chris McDonough
2009-10-09route -> static directive.Chris McDonough
2009-10-09Protip from elpargo.Chris McDonough
2009-07-06- Minor edits to tutorials for accuracy based on feedback.Chris McDonough
- Back to dev.
2009-07-05SpellingChris McDonough
2009-07-03Audit grammar in bfgwik2 tutorial.Chris McDonough
2009-06-24- Use ``repoze.bfg.url.route_url`` API in tutorials rather than RoutesChris McDonough
``url_for`` API.
2009-06-19Edit.Chris McDonough
2009-06-18Rejigger tutorial in the face of request-only default views.Chris McDonough
2009-06-18- The matchdict related to the matching of a Routes route is availableChris McDonough
on the request as the ``matchdict`` attribute: ``request.matchdict``. If no route matched, this attribute will be None.
2009-06-02corrected some mistakes in the mapping views sections and added more ↵Carlos de la Guardia
explanation text
2009-06-02fixed typoCarlos de la Guardia
2009-06-01Not a term.Chris McDonough
2009-06-01Flesh out the rest.Chris McDonough
2009-06-01Add defining views chapter.Chris McDonough
2009-06-01Keep useful stuff.Chris McDonough
2009-05-31Make a copy of the tutorial for Routes+SQLAlchemy.Chris McDonough