Opened 10 years ago
Last modified 10 years ago
#25828 closed Cleanup/optimization
Aggregation and annotation using a postgres JSONField — at Initial Version
| Reported by: | Austin Pua | Owned by: | |
|---|---|---|---|
| Component: | contrib.postgres | Version: | dev |
| Severity: | Normal | Keywords: | JSONField aggregation annotation |
| Cc: | Marc Tamlyn | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I saw this StackOverflow post, and I decided to try it out myself. I can confirm that aggregations and annotations do not work with JSONField. Using values() also does not work. I think it has something to do with how the strings/lookups are parsed.
Is this a bug that can/will be fixed before the official 1.9 release, or is this a feature enhancement for future versions?
Note:
See TracTickets
for help on using tickets.