The ORM expressions DEP 
(https://github.com/django/deps/blob/master/drafts/orm_expressions.rst) is 
now ready for review.

In brief, the DEP proposes an improved and publicly documented way to write 
expressions for the ORM. The expressions can be used in .annotate() calls. 
The DEP also proposes that aggregates are a subclass of expressions.

The benefits are:
  - Public API to write expressions
  - Simplified implementation of how expressions are added to the query and 
how they are evaluated
  - Aggregates behave similarly to other ORM expressions

A pull request by Josh Smeaton implements the DEP 
(https://github.com/django/django/pull/2496).

My understanding is that we don't have yet any process for how to accept 
(or number...) DEPs. I propose that first the community reviews the DEP. 
Unless there is clear objection to the DEP, the technical board can then 
consider if (and how) they want to accept the DEP.

 - Anssi

-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/9b7fcf81-e618-4ea5-a806-2ffd3cd42718%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to