Flexible query filter conditions, that can be defined from django-admin and used for segmentation of date (i.e. Profiles).
Project description
Flexible query filter conditions, that can be defined from django-admin and used for segmentation of date (i.e. Profiles).
Documentation
The full documentation is at https://django-flexible-filter-conditions.readthedocs.io.
Quickstart
Install Django flexible filter conditions:
pip install django-flexible-filter_conditions
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'flexible_filter_conditions.apps.FlexibleFilterConditionsConfig',
...
)
Add Django flexible filter conditions’s URL patterns:
FLEXIBLE_FILTER_CONDITIONS_FIELD_MAP = {
'User': ('aklub.models', 'User'),
'Profile': ('aklub.models', 'Profile'),
'Payment': ('aklub.models', 'Payment'),
'User.last_payment': ('aklub.models', 'Payment'),
'User.userchannels': ('aklub.models', 'DonorPaymentChannel'),
}
Features
TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.0 (2020-01-14)
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
Close
Hashes for django-flexible-filter-conditions-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945f6dd34b1226e83c0cc3575e9d4db7fc3f71448901a4ffbb850a0f6d8d3664 |
|
MD5 | bdd836e6ea15075a44dd8bf27e6685ce |
|
BLAKE2b-256 | 21b7403de6e24deac9b4fbd03d405222dc886ce72001876901f693141bb062ba |