tangentlabs/django-oscar — pull request #1223 by mvantellingen (2014-02-25 20:44:51+00:00)
Title: Use SimpleLazyObject for request.basket

Note that I've made this PR more to discuss the implemented solution. If you guys agree with it then i'll add some unittests.

This is a major performance improvement for pages where the basket is
not used (other pages or loading basket async via javascript).

Note that request.basket is now not available when calling
`apply_offers_to_basket`. Note sure why this is required since the
basket is passed along.