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

Deprecated in 2.0: Angiv on_delete på alle ForeignKey og OneToOneField #118

Closed
Mortal opened this issue Jan 20, 2016 · 0 comments
Closed

Comments

@Mortal
Copy link
Member

Mortal commented Jan 20, 2016

Bliver fjernet i Django 2.0: https://docs.djangoproject.com/en/stable/internals/deprecation/

"The on_delete argument for ForeignKey and OneToOneField will be required."

Se f.eks. https://github.com/matfystutor/web/blob/23ac58c/mftutor/tutor/models.py#L190

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