Skip to main content

DSL for Django ORM

Project description

https://badge.fury.io/py/django-dsl.svg https://travis-ci.org/mpasternak/django-dsl.svg?branch=master https://codecov.io/gh/mpasternak/django-dsl/branch/master/graph/badge.svg

DSL for Django ORM

This is a simple query language for Django ORM. You can give it to your customers so they will be able to filter the database without having to edit code.

From one side, you feed it with a string, supplied by the user. And, it gives you Q-objects, ready to be used in QuerySet.filter() call.

Please see tests/test_dsl.py file for example usage.

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

History

0.1.0 (2017-07-21)

  • First release on PyPI.

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-dsl-0.1.7.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

django_dsl-0.1.7-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-dsl-0.1.7.tar.gz.

File metadata

  • Download URL: django-dsl-0.1.7.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-dsl-0.1.7.tar.gz
Algorithm Hash digest
SHA256 3c2954e7733256cdf5b2ca0acea364edd80e7f24f6ab77e089d6ec7697ad5da8
MD5 9039dfddac6564ea89b3f09bd1202c9d
BLAKE2b-256 deef208bdb7d570336e75b5d187aa09c90944e2b06d977416f94f7982aa40630

See more details on using hashes here.

File details

Details for the file django_dsl-0.1.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_dsl-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b2474b1b83ee9caf7c1da40cf0dd10bd915ba1c7c1f3b801c6e7c214b6439a94
MD5 b77938ae726531290c4ffe865009db06
BLAKE2b-256 18b68dc530fdc371aab534b64c486a2340a199a55f7e1086e040c26ba31addf5

See more details on using hashes here.

Supported by

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