Changelog¶
next¶
Bugfixes¶
None
values are now appropriately sorted first or last (depending on database support. Contributed by @vuongdv-spinshell. (#97)
Improvements¶
- Initial support for asynchronous queries. (#99)
0.15 (2021-12-10)¶
0.14 (2021-02-26)¶
Improvements¶
Bugfixes¶
- Support calling
filter()
withQ()
objects. Contributed by @jpic. (#76)
0.12 (2019-12-20)¶
0.11 (2019-04-25)¶
Improvements¶
Maintenance¶
- Support Python 3.7. Contributed by @michael-k. (#51)
- Support Django 2.2. Contributed by @michael-k. (#51)
- Support Django REST Framework 3.9. Contributed by @michael-k. (#51)
- Drop support for Python 3.4. Contributed by @michael-k. (#51)
- Drop support for Django REST Framework < 3.6.3. Contributed by @michael-k. (#51)
0.10 (2018-10-09)¶
Improvements¶
- Support
first()
,last()
,latest()
, andearliest()
methods. (#40, #49) - Support the
&
and|
operators. (#41) - Support
defer()
andonly()
methods to control which fields are returned. (#44) - Support calling
using()
to switch databases for an entireQuerySetSequence
. (#44) - Support calling
extra()`, ``update()
, andannotate()
which get applied to eachQuerySet
. (#46, #47) - Support calling
explain()
on Django >= 2.1. (#48)
0.9 (2018-09-20)¶
0.8 (2017-09-05)¶
Improvements¶
- Optimize iteration when not slicing a
QuerySetSequence
. Contributed by @EvgeneOskin. (#29)
Maintenance¶
- Support Django 1.11. Contributed by @michael-k. (#26, #32)
- Support Django REST Framework 3.5 and 3.6. (#26)
0.7.2 (2017-04-04)¶
0.7 (2016-10-20)¶
Improvements¶
- Allow filtering / querying / ordering by the order of the
QuerySets
in theQuerySetSequence
by using'#'
. This allows for additional optimizations when using third-party applications, e.g. Django REST Framework. (#10, #14, #15, #16) - Django REST Framework integration: includes a subclass of the
CursorPagination
from Django REST Framework underqueryset_sequence.pagination.SequenceCursorPagination
which is designed to work efficiently with aQuerySetSequence
by first ordering by internalQuerySet
, then by theordering
attribute. (#17)
0.6 (2016-06-07)¶
Improvements¶
- Allow specifying the
Model
to use when instantiating aQuerySetSequence
. This is required for compatibility with some third-party applications that check themodel
field for equality, e.g. when using theDjangoFilterBackend
with Django REST Framework. Contributed by @CountZachula. (#6) - Support
prefetch_related
. (#7)
0.5 (2016-02-21)¶
0.3 (2016-01-29)¶
Improvements¶
- Raises
NotImplementedError
forQuerySet
methods thatQuerySetSequence
does not implement. (e2c67c5, b376b87) - Support
reverse()
to reverse the item ordering. (f27b2c7) - Support
none()
to return anEmptyQuerySet
. (6171c11) - Support
exists()
to check if aQuerySetSequence
has any results. (1aa705b) - Support
select_related
to follow foreign-key relationships when generating results. (ad54d5e)
0.2 (2016-01-08)¶
0.1 (2016-01-07)¶
- Support Django 1.8.0.
- Various bug fixes and tests.
The initial commits on based on DjangoSnippets and other code:
DjangoSnippet 1103 by mattdw. foo_7a081bfcfc0eff2aba4d550632d9733786c65ac8
-
foo_8d989bcc36140573a0f4d5f1e0e1e99e9a90a9f4
- Updated per comment 1553 by nosa_manuel. foo_ff258ca20f2a5c8e536a744fb9b64fba87046ef5
- Updated per comment 4642 by esquevin. foo_04b5fe14a5e8803c2b11259ff60c095fb9da8ce3
DjangoSnippet 1933 by t_rybik. foo_93f5575b3661bd2334960767eadf4a1ba03bfb8f
django-ko-demo from The Atlantic by @fdintino. foo_0b875aeb8aaea20ba47fc2fbc285d078aee42240