Re: [Django] #23709: postgres ArrayField can't access specific array indices in .values(), .aggregate(), etc.

2015-05-04 Thread Django
#23709: postgres ArrayField can't access specific array indices in .values(),
.aggregate(), etc.
--+-
 Reporter:  kalenedrael   |Owner:
 Type:  New feature   |   Status:  closed
Component:  contrib.postgres  |  Version:  master
 Severity:  Normal|   Resolution:  duplicate
 Keywords:  arrayfield| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+-
Changes (by jarshwah):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Closing as a duplicate of https://code.djangoproject.com/ticket/24747

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.f35e06d0f55d7616af6badf46a0cbfe4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23709: postgres ArrayField can't access specific array indices in .values(), .aggregate(), etc.

2014-10-31 Thread Django
#23709: postgres ArrayField can't access specific array indices in .values(),
.aggregate(), etc.
--+
 Reporter:  kalenedrael   |Owner:
 Type:  New feature   |   Status:  new
Component:  contrib.postgres  |  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:  arrayfield| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * type:  Uncategorized => New feature


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.f19b207b48bb48d29f2b74483d91aa4c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23709: postgres ArrayField can't access specific array indices in .values(), .aggregate(), etc.

2014-10-23 Thread Django
#23709: postgres ArrayField can't access specific array indices in .values(),
.aggregate(), etc.
--+
 Reporter:  kalenedrael   |Owner:
 Type:  Uncategorized |   Status:  new
Component:  contrib.postgres  |  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:  arrayfield| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by akaariai):

 * stage:  Unreviewed => Accepted


Comment:

 This is something that we want to allow, but we just haven't gotten there
 yet.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.55be64cd1e36e51e5d765ddee342327f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23709: postgres ArrayField can't access specific array indices in .values(), .aggregate(), etc.

2014-10-23 Thread Django
#23709: postgres ArrayField can't access specific array indices in .values(),
.aggregate(), etc.
--+--
 Reporter:  kalenedrael   |Owner:
 Type:  Uncategorized |   Status:  new
Component:  contrib.postgres  |  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:  arrayfield| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by kalenedrael):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> ArrayField allows lookups by index when filtering, e.g.
> {{{
> qset.filter(arr__0=foo)
> }}}
> but things like
> {{{
> qset.values('arr__0')
> qset.aggregate(Max('arr__0')
> }}}
> are not allowed.
>
> I'm not sure if this counts as a feature request or bug. From a cursory
> look at the Django source it seems that this functionality may not be
> compatible with the way Django handles lookups outside of .filter().

New description:

 ArrayField allows lookups by index when filtering, e.g.
 {{{
 qset.filter(arr__0=foo)
 }}}
 but things like
 {{{
 qset.values('arr__0')
 qset.aggregate(Max('arr__0'))
 }}}
 are not allowed.

 I'm not sure if this counts as a feature request or bug. From a cursory
 look at the Django source it seems that this functionality may not be
 compatible with the way Django handles lookups outside of .filter().

--

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.594bec7122f0587a4ec111af2ff93c33%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #23709: postgres ArrayField can't access specific array indices in .values(), .aggregate(), etc.

2014-10-23 Thread Django
#23709: postgres ArrayField can't access specific array indices in .values(),
.aggregate(), etc.
--+
 Reporter:  kalenedrael   |  Owner:
 Type:  Uncategorized | Status:  new
Component:  contrib.postgres  |Version:  master
 Severity:  Normal|   Keywords:  arrayfield
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  0 |  UI/UX:  0
--+
 ArrayField allows lookups by index when filtering, e.g.
 {{{
 qset.filter(arr__0=foo)
 }}}
 but things like
 {{{
 qset.values('arr__0')
 qset.aggregate(Max('arr__0')
 }}}
 are not allowed.

 I'm not sure if this counts as a feature request or bug. From a cursory
 look at the Django source it seems that this functionality may not be
 compatible with the way Django handles lookups outside of .filter().

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.3b72d8294a74ad6a1591a171f955190d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.