Skip to content

Commit

Permalink
fix for awesto#134
Browse files Browse the repository at this point in the history
  • Loading branch information
bmihelac committed May 15, 2012
1 parent df83550 commit cd529ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shop/views/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ def get_billing_address_form(self):
if not form:
# Create a dynamic Form class for the model specified as the
# address model
form_class = model_forms.modelform_factory(
AddressModel, exclude=['user_shipping', 'user_billing'])
form_class = self.get_billing_form_class()

# Try to get a shipping address instance from the request (user or
# session))
Expand Down

0 comments on commit cd529ae

Please sign in to comment.