tangentlabs/django-oscar — pull request #1172 by vovanbo (2014-01-30 18:25:32+00:00)
Title: Assign basket to request before check stockrecords and apply offers.

If pricing policy in strategies have some logic depends on basket lines (or basket object itself), then ```apply_offers_to_basket``` in basket's middleware running before request have assigned basket object.