TypeError at /articles/write-new-article/
init() got an unexpected keyword argument ‘instance’
Request Method: GET
Request URL: http://106.12.72.181:8000/articles/write-new-article/
Django Version: 2.1.7
Exception Type: TypeError
Exception Value:
init() got an unexpected keyword argument ‘instance’
Exception Location: /root/.local/share/virtualenvs/dev-zanhu-8G1gZrYC/lib/python3.7/site-packages/django/views/generic/edit.py in get_form, line 33
Python Executable: /root/.local/share/virtualenvs/dev-zanhu-8G1gZrYC/bin/python
Python Version: 3.7.6
Python Path:
[’/root/dev-zanhu/zanhu’,
’/root/dev-zanhu/zanhu’,
’/root/dev-zanhu/zanhu/zanhu’,
’/root/.pycharm_helpers/pycharm_display’,
’/usr/local/python/lib/python37.zip’,
’/usr/local/python/lib/python3.7’,
’/usr/local/python/lib/python3.7/lib-dynload’,
’/root/.local/share/virtualenvs/dev-zanhu-8G1gZrYC/lib/python3.7/site-packages’,
’/root/.pycharm_helpers/pycharm_matplotlib_backend’,
’/root/dev-zanhu/zanhu/zanhu’,
’/root/dev-zanhu/zanhu’,
’/root/dev-zanhu/zanhu/zanhu’]
Server time: 星期三, 4 三月 2020 17:52:31 +0800