#470: Add Field.db_default for defining database defaults
-------------------------------------+-------------------------------------
Reporter: jws | Owner: John
| Whitlock
Type: New feature | Status: assigned
Component: Database layer | Version:
(models, ORM) |
Severity: normal | Resolution:
Keywords: sql schema | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by John Whitlock):
Hi all. I've struggled with the lack of this feature as well. Thanks to
Ayush Joshi for assigning me.
Ian Foote's previous work is in
[https://github.com/django/django/pull/13709 PR 13709]. I've been able to
rebase it and get tests passing, so it looks like a good approach. I'll
start from there, guided by the feedback to Ian's PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/470#comment:49>
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/010701827b1751c6-941aeaac-c8f5-487d-b4ed-28eba7cfcacb-000000%40eu-central-1.amazonses.com.