Re: [Django] #37238: save() falls back to python default even when DatabaseDefault instance is assigned (was: 6.1: save() falls back to python default for primary key that should come from related instance instead)

0 views
Skip to first unread message

Django

unread,
1:27 PM (2 hours ago) 1:27 PM
to django-...@googlegroups.com
#37238: save() falls back to python default even when DatabaseDefault instance is
assigned
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
| Walls
Type: Bug | Status: new
Component: Database layer | Version: 6.1
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* summary:
6.1: save() falls back to python default for primary key that should
come from related instance instead
=>
save() falls back to python default even when DatabaseDefault instance
is assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/37238#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages