#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: closed
Component: Migrations | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: default | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"e62f6e0968eb19a44198211b5398c5738db454c5" e62f6e09]:
{{{
#!CommitTicketReference repository=""
revision="e62f6e0968eb19a44198211b5398c5738db454c5"
Fixed #29505 -- Removed SchemaEditor's calling of callable defaults.
Thanks Eugene Pakhomov for the suggested fix.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29505#comment:8>
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.ea5e8289b52299d6619e9364e05425d1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.