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
Seems like there is on_delete field missing in twython_django_oauth/models.py:
File "/home/brezerk/develop/example/.venv/lib/python3.6/site-packages/twython_django_oauth/models.py", line 5, in <module>
class TwitterProfile(models.Model):
File "/home/brezerk/develop/example/.venv/lib/python3.6/site-packages/twython_django_oauth/models.py", line 11, in TwitterProfile
user = models.OneToOneField(User)
TypeError: __init__() missing 1 required positional argument: 'on_delete'
Hi
Seems like there is on_delete field missing in twython_django_oauth/models.py:
https://docs.djangoproject.com/en/3.1/ref/models/fields/#django.db.models.ForeignKey.on_delete
The text was updated successfully, but these errors were encountered: