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
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
2 matches
Mail list logo