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
This is the result of Django > 2.0 requiring the on_delete argument. Several changes need to happen for it to work on the latest Django version. I noticed these ones:
The on_delete arguments set for FKs
Changing the view to import from django.urls, I'm sure other similarly moved dependencies will need to be changed as well
New generic install from both PyPi and Github result in an error when running
python manage.py runserver
:`
File "/home/bandman/code/findscience/env/lib/python3.6/site-packages/review/models.py", line 22, in
File "/home/bandman/code/findscience/env/lib/python3.6/site-packages/review/models.py", line 42, in Review
TypeError: init() missing 1 required positional argument: 'on_delete'
`
The text was updated successfully, but these errors were encountered: