Initial node_middleware commit. Implements an attribute on the HttpRequest class...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Tue, 19 Oct 2010 21:08:24 +0000 (17:08 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Tue, 19 Oct 2010 21:08:24 +0000 (17:08 -0400)
commit01a66d144c3ac6539991c5b9f00e1bd5bab132ee
treefbabd97fdb2ba121588cf0eee80813ec029e9555
parent5aa5adcf276f2017c9747bc8214fb1e6ee8c82bc
Initial node_middleware commit. Implements an attribute on the HttpRequest class which handles lazy node evaluation - i.e. request.node is available for all requests, but is only evaluated on first use. Removed all references I could find to node, path, and subpath in Views, which may make for a simpler API. Path and subpath were generally unused and can be extrapolated in other ways; however, should it come to light that they are necessary, they can be added back in.
contrib/penfield/models.py
contrib/penfield/utils.py
contrib/waldo/models.py
exceptions.py
middleware.py [new file with mode: 0644]
models/nodes.py
models/pages.py
signals.py
views.py