revsys/django-tos

Django >= 2.0 not supported

Closed this issue · 5 comments

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'

Tracking in #35

@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

#35

Thanks! Sure will do

Fixed in #35