--
Ticket URL: <https://code.djangoproject.com/ticket/26179>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by timgraham):
A partial implementation of this is
[https://github.com/django/django/pull/5658 on a pull request] for #25349.
After this ticket is completed, we'll rebase that pull request and proceed
with that fix.
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:1>
* easy: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:2>
* owner: nobody => ZachLiuGIS
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:3>
Comment (by ZachLiuGIS):
I have made the changes and created the pull request ticket_26179
I removed both value=None check in `ForwardManyToOneDescriptor` and
`ReverseOneToOneDescriptor`.
Because of that, several tests failed because they have assertRaise for
`ValueError`. So I removed those tests.
This is my first time working on Django. So please let me know if there's
anything I can do better:)
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:4>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/6115 PR] (please add a link like
this in the future)
You should also check "Has patch" on the ticket so it appears in the
review queue. Since I left some comments for improvement on the pull
request, I'll mark "Patch needs improvement." Please uncheck it after you
update the pull request. Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:5>
Comment (by ZachLiuGIS):
Thanks for the help. I have updated the pull request (tests for None
allowed) and also the backwards-incompatible changes in 1.10.txt.
will remember to update the ticket going forward.
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:6>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:7>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"04e13c89138d48c20e774a2b6bf06796f73ac0fe" 04e13c8]:
{{{
#!CommitTicketReference repository=""
revision="04e13c89138d48c20e774a2b6bf06796f73ac0fe"
Fixed #26179 -- Removed null assignment check for non-nullable foreign key
fields.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26179#comment:8>