Provide a query string API for construction of complex django QuerySet - https://dgeq.readthedocs.io/
Project description
CHANGELOG
0.3.7
user
argument is now mandatory only whenuse_permission=True
inutils.serialize
0.3.6
user
argument is now mandatory only whenuse_permission=True
0.3.5
- Fix an error occurring when a
ForeignField
is None - User's password are private by default
0.3.4
- Fix an exception when no
related_name
is given on a related field
0.3.3
- Reverse field's name are now correctly fetched
0.3.2
- Joins now correctly account for nullable foreign key
0.3.1
- Minor fix
0.3.0
-
Instead of calling commands in a specific order, each field/value pair of the query string call the commands with a regex matching the field. The main consequence of this change is that query argument's order now matter.
-
Added
c:distinct
command as well asdistinct
argument for forc:join
. A new function calleddcount
(to make distinct count) has been added forc:aggregate
andc:annotate
.
0.2.1
- Added
serialize()
method to serialize a model instance in the same format as aGenericQuery
's row.
0.2.0
- Now can allow only specific field for each Model, or can use django's permission system
0.1.1 & 0.1.2
- Added missing MANIFEST.in
0.1.0
- Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dgeq-0.3.7.tar.gz
(20.9 kB
view hashes)