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
File "", line 219, in _call_with_frames_removed
File "/home/anaghajas/Desktop/django_projects/Work/e-commerce-site/oscar/lib/python3.8/site-packages/oscar_support/models.py", line 1, in
from . import abstract_models as am
File "/home/anaghajas/Desktop/django_projects/Work/e-commerce-site/oscar/lib/python3.8/site-packages/oscar_support/abstract_models.py", line 46, in
class AbstractTicket(ModificationTrackingMixin, BaseSupportModel):
File "/home/anaghajas/Desktop/django_projects/Work/e-commerce-site/oscar/lib/python3.8/site-packages/oscar_support/abstract_models.py", line 56, in AbstractTicket
parent = models.ForeignKey(
TypeError: init() missing 1 required positional argument: 'on_delete'
Can anyone help solving this?
The text was updated successfully, but these errors were encountered:
I am using django=2.2.13 and django-oscar=2.0.4.Installed using pip install git+https://github.com/tangentlabs/django-oscar-support.git command.While running ./manage.py migrate oscar_support command error happens.
File "", line 219, in _call_with_frames_removed
File "/home/anaghajas/Desktop/django_projects/Work/e-commerce-site/oscar/lib/python3.8/site-packages/oscar_support/models.py", line 1, in
from . import abstract_models as am
File "/home/anaghajas/Desktop/django_projects/Work/e-commerce-site/oscar/lib/python3.8/site-packages/oscar_support/abstract_models.py", line 46, in
class AbstractTicket(ModificationTrackingMixin, BaseSupportModel):
File "/home/anaghajas/Desktop/django_projects/Work/e-commerce-site/oscar/lib/python3.8/site-packages/oscar_support/abstract_models.py", line 56, in AbstractTicket
parent = models.ForeignKey(
TypeError: init() missing 1 required positional argument: 'on_delete'
Can anyone help solving this?
The text was updated successfully, but these errors were encountered: