#11390: If you use a callable as default value on a model field, it gets called 
3
times.
----------------------------------+------------------------------------
     Reporter:  espen.nettbruk@…  |                    Owner:  (none)
         Type:  Bug               |                   Status:  closed
    Component:  Forms             |                  Version:  1.0
     Severity:  Normal            |               Resolution:  fixed
     Keywords:  models            |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------

Comment (by GitHub <noreply@…>):

 In [changeset:"0bf627f0b2f868cdcc53ac12cc7f390901d4b83d" 0bf627f0]:
 {{{
 #!CommitTicketReference repository=""
 revision="0bf627f0b2f868cdcc53ac12cc7f390901d4b83d"
 Refs #11390 -- Clarified dual-calling of ChoiceField.choices callable.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11390#comment:20>
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/082.12b565a525681c40f530e8b8a4f7962b%40djangoproject.com.

Reply via email to