I didn't look too deeply at the project, but after checking the readme and
Shai's summary:
- Sets the seclected fields as attributes on the object returned,
> rather than as dict values
> - Where the selected field is a FK, follows the relationship to get the
> object
>
...I think both of these features can be replicated with the ORM already. A
QS like `Model.objects.annotate(x=F('fk__x')).values_list('x', named=True)`
demonstrates both features. annotate() allows grabbing related FK objects'
values as direct attributes, and passing named=True to values_list returns
namedtuples.
On Tue, 21 Jul 2020 at 19:53, Javier Buzzi <[email protected]> wrote:
> This looks like a cool little side project. I would keep it there, the use
> case is very limited. I've always seen the django ORM as a very basic
>
> > On Jul 21, 2020, at 12:46 PM, René Fleschenberg <[email protected]>
> wrote:
> >
> > Hi,
> >
> > on IRC, someone hinted me at
> https://github.com/kako-nawao/django-group-by today.
> >
> > Is there a deeper reason why this functionality is not available in
> Django core, or is it just that nobody got around to implementing it yet?
> To me, it seems like something that would be nice to have without having to
> rely on a third-party package.
> >
> > Any thoughts?
> >
> > Regards,
> > René
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Django developers (Contributions to Django itself)" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/0cdf647e-295f-6948-abd0-696cb9859efe%40fleschenberg.net
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/A1414E42-527A-4A08-AE64-1A2E88109CB3%40gmail.com
> .
>
--
Adam
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/CAMyDDM01wN8-o0gqdF%3Dm-mZ8BZds3LwdMwK33b-1AwnMsgaqjg%40mail.gmail.com.