Does not work with Django 2.0 due to missing on_delete argument in models
Closed this issue · 2 comments
aljp commented
The django-twilio library does not work with Django 2.0
File "/var/app/.venv/lib/python3.6/site-packages/django_twilio/models.py", line 36, in <module>
class Credential(models.Model):
File "/var/app/.venv/lib/python3.6/site-packages/django_twilio/models.py", line 56, in Credential
user = models.OneToOneField(AUTH_USER_MODEL)
TypeError: __init__() missing 1 required positional argument: 'on_delete'
jheld commented
Please check out the latest alpha build on PyPI or build it from master.
jheld commented
This has been updated in the 0.9.0 release and is on master. Please re-open if you encounter any issues.