tangentlabs/django-oscar — pull request #961 by mbertheau (2013-11-06 15:57:15+00:00)
Title: Make sure all BasketLine instances have a strategy set.

When building the formset for the basket lines the lines are first fetched
directly from the database and without a strategy when django determines
how many forms it has to create. It is these basket line instances that are
used later in the template, where they need a strategy to display price
information.

The comment in AbstractBasket.all_lines() specifically mentions a similar case, however the case we stumbled upon is different.

I'm not really sure if this is the right place to fix this, so I'd appreciate someone familiar with that code to have a look.

Thanks

Markus