Commit ddeaa588 authored by David Seaward's avatar David Seaward

correct cart path

Signed-off-by: David Seaward's avatarDavid Seaward <david.seaward@puri.sm>
parent 4e4bb835
# Django
# 3rd party
from captcha.fields import CaptchaField
from django import forms
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth import logout
from django.http import HttpResponseRedirect
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _
from django.utils import timezone
from django import forms
from django.contrib.auth import get_user_model
# 3rd party
from captcha.fields import CaptchaField
from ldapregister.forms import RegistrationForm
from django.utils.translation import ugettext_lazy as _
from registration.backends.simple.views import RegistrationView
from registration.forms import validators
# Others
from cart.models import ChosenReward
from ldapregister.forms import RegistrationForm
from purist.models import AccountType
User = get_user_model()
......@@ -122,7 +120,7 @@ class CartRegistrationView(RegistrationView):
else:
# go to WooCommerce cart URL
url = '{}/{}/{}?{}&reauth=1'.format(
url = '{}/{}/{}/{}&reauth=1'.format(
settings.WOO_URL,
'wp-login.php?redirect_to=',
settings.WOO_CART_BILLING_PATH,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment