#25213: Discourage use of QuerySet.extra() -------------------------------------+------------------------------------- Reporter: timgraham | Owner: timgraham Type: | Status: new Cleanup/optimization | Component: | Version: 1.8 Documentation | Severity: Normal | Keywords: Triage Stage: Accepted | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- from Anssi [https://groups.google.com/d/topic/django- developers/FojuU0syO8Y/discussion on django-developers]:
You can annotate raw SQL with expressions. I think the only case that can't be done with expressions is addition of extra tables to the query. I am certain we will get a solution to this too in future releases. -- Ticket URL: <https://code.djangoproject.com/ticket/25213> Django <https://code.djangoproject.com/> 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/052.646993a00894f865bcb8f5eb89d4fc83%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.