Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/graphql/execution/executor.py", line 215, in complete_value_catching_error

exe_context, return_type, field_asts, info, result)


 "/usr/local/lib/python3.5/dist-packages/graphql/execution/executor.py", line 290, in complete_value

return complete_object_value(exe_context, return_type, field_asts, info, result)


 "/usr/local/lib/python3.5/dist-packages/graphql/execution/executor.py", line 380, in complete_object_value

if return_type.is_type_of and not return_type.is_type_of(result, info):
TypeError: is_type_of() missing 1 required positional argument: 'info'

Traceback (most recent call last):


 "../apps/manage.py", line 28, in <module>

execute_from_command_line(sys.argv)


 "/opt/py3/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line

utility.execute()


 "/opt/py3/lib/python3.6/site-packages/django/core/management/__init__.py", line 347, in execute

django.setup()


 "/opt/py3/lib/python3.6/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)


 "/opt/py3/lib/python3.6/site-packages/django/apps/registry.py", line 112, in populate

app_config.import_models()


 "/opt/py3/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models

self.models_module = import_module(models_module_name)


 "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module

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


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


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


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


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


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


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


 "/opt/jumpserver/apps/assets/models/__init__.py", line 8, in <module>

from .domain import *


 "/opt/jumpserver/apps/assets/models/domain.py", line 36, in <module>

class Gateway(AssetUser):


 "/opt/jumpserver/apps/assets/models/domain.py", line 46, in Gateway

domain = models.ForeignKey(Domain, verbose_name=_("Domain"))
TypeError: __init__() missing 1 required positional argument: 'on_delete'
