You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the model "oscar.apps.customer.abstract_models.AbstractUser" is not be registered.
So the model "django.contrib.auth.models.AbstractUser" is being used.
Is it losing the register code like this :
if not is_model_registered("customer", "User"):
class User(abstract_models.AbstractUser):
pass
__all__.append("User")
And I subclass the AbstractUser, got the error: "ValueError: Related model 'customer.user' cannot be resolved" on migrating.
I like a circle denpendency by "customer.0001_initial.py".
Steps to Reproduce
Technical details
Python version: Python 3.12.3
Django version: Version: 4.2.11
Oscar version: Version: 3.2.4
The text was updated successfully, but these errors were encountered:
Found a bug? Please fill out the sections below.
Issue Summary
I found the model "oscar.apps.customer.abstract_models.AbstractUser" is not be registered.
So the model "django.contrib.auth.models.AbstractUser" is being used.
Is it losing the register code like this :
if not is_model_registered("customer", "User"):
And I subclass the AbstractUser, got the error: "ValueError: Related model 'customer.user' cannot be resolved" on migrating.
I like a circle denpendency by "customer.0001_initial.py".
Steps to Reproduce
Technical details
The text was updated successfully, but these errors were encountered: