Skip to main content

Write Django model properties that can be used in database queries.

Project description

https://travis-ci.com/W1ldPo1nter/django-queryable-properties.svg?branch=master https://codecov.io/gh/W1ldPo1nter/django-queryable-properties/branch/master/graph/badge.svg https://readthedocs.org/projects/django-queryable-properties/badge/?version=latest https://img.shields.io/pypi/v/django-queryable-properties.svg

django-queryable-properties is a Django extension that allows to implement model properties which can be be used in database queries performed via Django’s ORM.

Further information, including supported Python and Django versions as well as installation instructions, can be found in the documentation hosted by readthedocs.

Contributing and getting help

The GitHub repository is the central place to report bugs and get help using the GitHub issues as well as to contribute to the project via pull requests while following the guide on contributing.

Changelog

master (unreleased)

1.0.2 (2019-06-02)

  • The lookup parameter of custom filter implementations of queryable properties will now receive the combined lookup string if multiple lookups/transforms are used at once instead of just the first lookup/transform

  • Fixed the construction of GROUP BY clauses when annotating queryable properties based on aggregates

  • Fixed the construction of HAVING clauses when annotating queryable properties based on aggregates in Django versions below 1.9

  • Fixed the ability to pickle queries and querysets with queryable properties functionality in Django versions below 1.6

1.0.1 (2019-05-11)

  • Added support for Django 2.2

1.0.0 (2018-12-31)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-queryable-properties-1.0.2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_queryable_properties-1.0.2-py2.py3-none-any.whl (21.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-queryable-properties-1.0.2.tar.gz.

File metadata

  • Download URL: django-queryable-properties-1.0.2.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for django-queryable-properties-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d1e8193202d925447f029b62bab9fc15f648e3d174fa0a04d4a8175c6df3a258
MD5 40d5675cca00675b97ecf4d667dc0a75
BLAKE2b-256 d8e9aba0e3547db3dbd56ec3fe84989deedb9285f11f50c3079cfd8b2b041a63

See more details on using hashes here.

File details

Details for the file django_queryable_properties-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: django_queryable_properties-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for django_queryable_properties-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8f3bd7d7a531dd85f51d79f625cf0401ff2ce81366a5d9a52b08e7a7d48b5d1b
MD5 3e7b2ea19f3a2cdf95b3c25c295c3ac0
BLAKE2b-256 95682613d65f2f506b0b9723f37cbbdb0f129264dc6768f71efaa0dae4c7b0b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page