Commit Graph

7 Commits

Author SHA1 Message Date
Dave Hall ba4a6af277 Adding support for Django 2.0 BigAutoField. Closes #238. 2018-02-20 11:01:46 +00:00
Andrew Cassidy 927d762daf Update foreign key references for django 2.0. This change was made in Django core 3 years ago. 2018-02-12 11:20:47 +00:00
Dave Hall d6084f7a90 Fixing filter() with a UUID field. Closes #227. 2017-12-06 16:51:57 +00:00
Daniel Quinn fcfe6eae6d Support stringifying objects in both Python 2 & 3
Without this fix, a Python3-based admin will simply show `Search object`
instead of `self.title`.
2017-11-23 14:06:52 +00:00
Antoine Lorence 967a049985 Fix coding style issue
This should remove PEP8 issues introduced with last commit and reported by Flake8
2017-07-22 13:43:29 +02:00
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