Commit graph

2 commits

Author SHA1 Message Date
Antoine Lorence
f5e173e1a2 Set on_delete=CASCADE for ForeignKey model fields
This is the default behavior, but since on_delete argument will be required in Django 2.0, and a warning is thrown in recent versions of Django when the attribute is missing, it's better to set it in code. In addition, "explicit is better than implicit"
2017-07-22 12:46:36 +02:00
Rustem Sayargaliev
fb1a3991f1 Added flake8, fixed syntax, flattened package structure 2016-11-07 21:33:33 +01:00