tickets_full: 3358

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
3358 2007-01-24 08:29:19 2007-12-09 07:44:44 2019-06-24 00:51:01.135375 Accepted closed Database layer (models, ORM)       duplicate select_related() should work with ValuesQuerySets (Some of you may be reading this for the second or third time since I brought it up both on the django-developers list and IRC) There appears to be no way to make a query like this through the django models without using SQL or hitting the database twice: {{{ SELECT trackback.title, blog.name, blog.url FROM trackback INNER JOIN blog ON trackback.blog_id = blog.id }}} As far as I know, selecting with table fields is preferred above using a SELECT * any time possible. I understand this would break the model object to table row mapping of the !QuerySet (objects woulnd't be complete if some fields were missing), perhaps a new kind of !QuerySet or !ValueQuerySet is needed? If this is something that would be a welcome addition to the codebase, I could probably help out. nobody dbr <daniel.brandt@gmail.com>   0 0 0 0 0 0
Powered by Datasette · Query took 2.765ms