- Django 3 compatibility. Thank you @tim-schilling and @ryanhiebert!
- Python 3 compatibility.
- Fix CTE alias bug.
- Use
_default_manager
instead ofobjects
.
- Fix recursive CTE pickling. Note: this is currently broken on Django master.
With.queryset()
now uses the CTE model's manager to create a newQuerySet
, which makes it easier to work with customQuerySet
classes.
- BACKWARD INCOMPATIBLE CHANGE:
With.queryset()
no longer accepts amodel
argument. - Improve
With.queryset()
to select directly from the CTE rather than joining to anoter QuerySet. - Refactor
With.join()
to use real JOIN clause.
- Fix related field attname masking CTE column.
- Add
django_cte.raw.raw_cte_sql
for constructing CTEs with raw SQL.
- Improve error on bad recursive reference.
- Add more tests.
- Add change log.
- Improve README.
- PEP-8 style fixes.
- Fix readme formatting on PyPI.
- Initial implementation.