Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make app independent of `userprofile` app
Adam Bogdal0f69ebd8db32
diff --git a/saleor/registration/forms.py b/saleor/registration/forms.pyindex ff27bf3ccc..af345e2d15 100644--- a/saleor/registration/forms.py+++ b/saleor/registration/forms.py@@ -5,7 +5,7 @@ from django.contrib.auth import authenticate, get_user_modelfrom django.contrib.auth.forms import AuthenticationForm, SetPasswordFormfrom django.utils.translation import pgettext_lazy, ugettext-from ..userprofile.models import User+User = get_user_model()from .models import (EmailConfirmationRequest,diff --git a/saleor/registration/models.py b/saleor/registration/models.pyindex 26d7c2ef6d..71a2becdac 100644--- a/saleor/registration/models.py+++ b/saleor/registration/models.py@@ -2,13 +2,13 @@ from __future__ import unicode_literalsfrom datetime import timedeltafrom django.db import models-from django.contrib.auth import authenticate+from django.contrib.auth import authenticate, get_user_modelfrom django.conf import settingsfrom django.core.urlresolvers import reversefrom django.utils import timezonefrom django.utils.crypto import get_random_string-from ..userprofile.models import User+User = get_user_model()now = timezone.now