#31368: Document from_db_value()'s "expression" parameter.
-------------------------------------+-------------------------------------
     Reporter:  Paolo Lammens        |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  3.0
     Severity:  Normal               |               Resolution:
     Keywords:  documentation,       |             Triage Stage:  Accepted
  missing                            |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * stage:  Unreviewed => Accepted


Comment:

 Django uses backend and field/expression converters. `expression` is a
 field or an expression and it's used by backend converters. All converters
 have the same signature that's why we keep the `expression` parameter in
 `Field.from_db_value()` and `Expression.convert_value()` signatures even
 if for them it's the same as `self`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31368#comment:1>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.cd5fe5db8cb2f4309e0cd5e1be05ab70%40djangoproject.com.

Reply via email to