Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: cancel_all() got an unexpected keyword argument 'product_id'

Traceback (most recent call last):


 "cointrol/manage.py", line 10, in <module>

execute_from_command_line(sys.argv)


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line

utility.execute()


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 345, in execute

settings.INSTALLED_APPS


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/conf/__init__.py", line 76, in __getattr__

self._setup(name)


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/conf/__init__.py", line 63, in _setup

self._wrapped = Settings(settings_module)


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/conf/__init__.py", line 142, in __init__

mod = importlib.import_module(self.SETTINGS_MODULE)


 "/home/popey/Cointrol/virtualenv/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/home/popey/Cointrol/cointrol/cointrol/__init__.py", line 8, in <module>

django.setup()


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/apps/registry.py", line 114, in populate

app_config.import_models()


 "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/apps/config.py", line 211, in import_models

self.models_module = import_module(models_module_name)


 "/home/popey/Cointrol/virtualenv/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1006, in _gcd_import


 "<frozen importlib._bootstrap>", line 983, in _find_and_load


 "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/home/popey/Cointrol/cointrol/cointrol/core/models.py", line 11, in <module>

from .castable import CastableModel


 "/home/popey/Cointrol/cointrol/cointrol/core/castable.py", line 31, in <module>

class CastableModel(models.Model):


 "/home/popey/Cointrol/cointrol/cointrol/core/castable.py", line 38, in CastableModel

null=True,
TypeError: __init__() missing 1 required positional argument: 'on_delete'
