Skip to content

Commit

Permalink
Merge branch 'releases/1.2' of github.com:awesto/django-shop into rel…
Browse files Browse the repository at this point in the history
…eases/1.2
  • Loading branch information
jrief committed Jun 16, 2020
2 parents f3a4772 + 85c777e commit 510df50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shop/cascade/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
('password-reset-request', _("Request Password Reset")),
('password-reset-confirm', _("Confirm Password Reset")),
('password-change', _("Change Password Form")),
('register-user', _("Register User"), 'shop.forms.auth.RegisterUserForm'),
('register-user', _("Register User"), app_settings.SHOP_CASCADE_FORMS['RegisterUserForm']),
('continue-as-guest', _("Continue as guest")),
]

Expand Down
1 change: 1 addition & 0 deletions shop/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def SHOP_CASCADE_FORMS(self):
'ShippingMethodForm': 'shop.forms.checkout.ShippingMethodForm',
'ExtraAnnotationForm': 'shop.forms.checkout.ExtraAnnotationForm',
'AcceptConditionForm': 'shop.forms.checkout.AcceptConditionForm',
'RegisterUserForm': 'shop.forms.auth.RegisterUserForm',
}
cascade_forms.update(self._setting('SHOP_CASCADE_FORMS', {}))
return cascade_forms
Expand Down

0 comments on commit 510df50

Please sign in to comment.