#29505: SchemaEditor prohibits setting a field's default value to a callable
that'll be used as the default
---------------------------------+------------------------------------
     Reporter:  Eugene Pakhomov  |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Migrations       |                  Version:  2.0
     Severity:  Normal           |               Resolution:
     Keywords:  default          |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  1                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Tim Graham):

 * status:  closed => new
 * type:  Uncategorized => Bug
 * needs_tests:  0 => 1
 * has_patch:  0 => 1
 * resolution:  wontfix =>
 * stage:  Unreviewed => Accepted


Comment:

 After a second look, I agree with your analysis. The patch looks okay, and
 the test will probably go in `tests/schema`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29505#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.556a55686cde95edf57b0f56ca648628%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to