Django-querysetsequence

Latest version: v0.17

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.7

================

Improvements
------------

* Allow filtering / querying / ordering by the order of the ``QuerySets`` in the
``QuerySetSequence`` by using ``''``. This allows for additional optimizations
when using third-party applications, e.g. Django REST Framework.
(`10 <https://github.com/clokep/django-querysetsequence/pull/10>`_,
`14 <https://github.com/clokep/django-querysetsequence/pull/14>`_,
`15 <https://github.com/clokep/django-querysetsequence/pull/15>`_,
`16 <https://github.com/clokep/django-querysetsequence/pull/16>`_)
* `Django REST Framework`_ integration: includes a subclass of the
``CursorPagination`` from Django REST Framework under
``queryset_sequence.pagination.SequenceCursorPagination`` which is designed to
work efficiently with a ``QuerySetSequence`` by first ordering by internal
``QuerySet``, then by the ``ordering`` attribute. (`17 <https://github.com/clokep/django-querysetsequence/pull/17>`_)

Bugfixes
--------

* ``PartialInheritanceMeta`` must be provided ``INHERITED_ATTRS`` and
``NOT_IMPLEMENTED_ATTRS``. (`12 <https://github.com/clokep/django-querysetsequence/pull/12>`_)

.. _Django REST Framework: http://www.django-rest-framework.org/

Maintenance
-----------

* Move ``queryset_sequence`` to an actual module in order to hide some
implementation details. (`11 <https://github.com/clokep/django-querysetsequence/pull/11>`_)

0.6.1

==================

Maintenance
-----------

* Support Django 1.10. (`9 <https://github.com/clokep/django-querysetsequence/pull/9>`_)

0.6

================

Improvements
------------

* Allow specifying the ``Model`` to use when instantiating a ``QuerySetSequence``.
This is required for compatibility with some third-party applications that check
the ``model`` field for equality, e.g. when using the ``DjangoFilterBackend``
with Django REST Framework. Contributed by `CountZachula <https://github.com/CountZachula>`_.
(`6 <https://github.com/clokep/django-querysetsequence/pull/6>`_)
* Support ``prefetch_related``. (`7 <https://github.com/clokep/django-querysetsequence/pull/7>`_)

Bugfixes
--------

* Fixes an issue when using Django Debug Toolbar. (`8 <https://github.com/clokep/django-querysetsequence/pull/8>`_)

0.5

================

Improvements
------------

* Significant performance improvements when ordering the
``QuerySetSequence``. (`5 <https://github.com/clokep/django-querysetsequence/pull/5>`_)
* Support ``delete()`` to remove items. (`1bb1716 <https://github.com/clokep/django-querysetsequence/commit/1bb1716eeedb37d6323f5578de565eaf09cc94b3>`_)

0.4

================

Maintenance
-----------

* Support Python 3.4 and 3.5. Contributed by `jpic <https://github.com/jpic>`_.
(`3 <https://github.com/clokep/django-querysetsequence/pull/3>`_)

0.3

================

Improvements
------------

* Raises ``NotImplementedError`` for ``QuerySet`` methods that ``QuerySetSequence``
does not implement. (`e2c67c5 <https://github.com/clokep/django-querysetsequence/commit/e2c67c5070cbd7a88249b3537c14b9536d4eaee4>`_,
`b376b87 <https://github.com/clokep/django-querysetsequence/commit/b376b877bd26a79095fe4e16d69d54f890a56524>`_)
* Support ``reverse()`` to reverse the item ordering. (`f27b2c7 <https://github.com/clokep/django-querysetsequence/commit/f27b2c76432e1e7ed7092056671cd5e9f6ed4b59>`_)
* Support ``none()`` to return an ``EmptyQuerySet``. (`6171c11 <https://github.com/clokep/django-querysetsequence/commit/6171c1113adc55d4fd16fea762233580ff992112>`_)
* Support ``exists()`` to check if a ``QuerySetSequence`` has any results. (`1aa705b <1aa705b53cebd8dde028d2bd1e2380db8b301049>`_)
* Support ``select_related`` to follow foreign-key relationships when generating results.
(`ad54d5e <https://github.com/clokep/django-querysetsequence/commit/ad54d5ee6e4ce6b45a057b56e93ff674e46eba00>`_)

Bugfixes
--------

* Do not evaluate any ``QuerySets`` when calling ``filter()`` or ``exclude()``
like a Django ``QuerySet``. Contributed by
`jpic <https://github.com/jpic>`_. (`#1 <https://github.com/clokep/django-querysetsequence/pull/1>`_,
`baaf448 <https://github.com/clokep/django-querysetsequence/commit/baaf4484649cbec5c1f80c684b1fa4177b6e23fd>`_)
* Do not cache the results when calling ``iterator()``. (`6566a91 <https://github.com/clokep/django-querysetsequence/commit/6566a910e3cd3e71dc2b02859530e35487d55c21>`_)

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.