-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python mange.py makemigrations chat #14
Comments
@asuresh1 can you please tell me the version of django that you are using? Then I will be able to assist you in a better way. |
Deshraj, |
Please use the django version mentioned here: https://github.com/Cloud-CV/visual-chatbot/blob/master/requirements.txt#L2 There are some breaking changes in django 2.x which is not compatible with Visual Chatbot codebase. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: