Permalink
Browse files

fix for #134

  • Loading branch information...
1 parent df83550 commit cd529aea2b2d48a547d0eb18d0aa3cbecdfd2b56 @bmihelac committed May 15, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 shop/views/checkout.py
View
@@ -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))

0 comments on commit cd529ae

Please sign in to comment.