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
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/core/management/init.py", line 357, in execute
django.setup()
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/apps/registry.py", line 112, in populate
app_config.import_models()
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/home/suresha1/anaconda3/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/suresha1/torch/pytorch/visual-chatbot/chat/models.py", line 20, in
class Dialog(models.Model):
File "/home/suresha1/torch/pytorch/visual-chatbot/chat/models.py", line 22, in Dialog
job = models.ForeignKey(Job)
TypeError: init() missing 1 required positional argument: 'on_delete'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/core/management/init.py", line 357, in execute
django.setup()
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/apps/registry.py", line 112, in populate
app_config.import_models()
File "/home/suresha1/anaconda3/lib/python3.7/site-packages/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/home/suresha1/anaconda3/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/suresha1/torch/pytorch/visual-chatbot/chat/models.py", line 20, in
class Dialog(models.Model):
File "/home/suresha1/torch/pytorch/visual-chatbot/chat/models.py", line 22, in Dialog
job = models.ForeignKey(Job)
TypeError: init() missing 1 required positional argument: 'on_delete'
The text was updated successfully, but these errors were encountered: