Closed sjamaan closed 6 years ago
ok, never mind. This was a bit premature; the sql creation has been refactored, so this won't work (it only seemed to work for my application)
Hi @sjamaan
It was a bit trickier due to that refactoring inside Django, not impossible :) https://github.com/mattiaslinnap/django-partial-index/pull/7
Please give it a try, if it looks good will make a public PyPI release as well.
Looks good, thanks for the update!
Version 0.4.0 with Django2 support is now available on PyPI, and as a release on github.
The only thing blocking this is the super() call in PartialIndex, because Index has been changed to allow calling it only with keyword args, not positional args.
Tweak Travis config to build only Django 2.0 for Python3 versions.