Django >= 2.0 not supported
Closed this issue · 5 comments
paddatrapper commented
The ondelete argument is a required argument from Django 2.0 - see the docs. Please add support for Django 2.0 and higher
File "/seed/src/django-tos-master/tos/models.py", line 71, in UserAgreement
terms_of_service = models.ForeignKey(TermsOfService, related_name='terms')
TypeError: __init__() missing 1 required positional argument: 'on_delete'
paddatrapper commented
PR: #32
nicholasserra commented
Tracking in #35
nicholasserra commented
@paddatrapper wanna give my PR here a try? I haven't ran this project in a while and wanna make sure this is working as expected before I merge and cut a new release
paddatrapper commented
Thanks! Sure will do
nicholasserra commented
Fixed in #35