Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnDelete on Models.py #10

Open
rokdd opened this issue Mar 6, 2020 · 1 comment
Open

OnDelete on Models.py #10

rokdd opened this issue Mar 6, 2020 · 1 comment

Comments

@rokdd
Copy link

rokdd commented Mar 6, 2020

I get the following error when migrating:
annotation = models.ForeignKey(Annotation, related_name="ranges") TypeError: __init__() missing 1 required positional argument: 'on_delete'

Nobody else?

@ajrbyers
Copy link

It looks like this package hasn't been updated for newer versions of Django that require the on_delete argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants