Tuesday, July 25, 2017

Re: upgrading django 1.11 warning list

Yes, it's safe to add that to migrations.

https://docs.djangoproject.com/en/dev/releases/1.9/#foreignkey-and-onetoonefield-on-delete-argument

On Tuesday, July 25, 2017 at 8:55:24 AM UTC-4, pablochud wrote:
Hi!
It showed me warning related to 'on_delete' as required arg for ForeignKey in migration files. is it safty to change migration file manually or is there alternative way to bypass warning?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/121339cd-75f1-44ae-91b1-2b9d62d1835c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment