--
Ticket URL: <https://code.djangoproject.com/ticket/17122>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: nickname123 (added)
* needs_better_patch: => 0
* has_patch: 0 => 1
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:1>
Comment (by nickname123):
The patch I just uploaded adds support for ForeignKey and ManyToManyField
relations.
The OneToOneField is not in this patch. I believe a design decision
discussion would be required to implement OneToOneField support because it
would have to pass its relation to the widget and currently does not do
so.
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:2>
Comment (by nickname123):
I was mistaken about the OneToOne relation. I overlooked the
RelatedFieldWidgetWrapper in django.contrib.admin.widgets. I now have
this working for all relation fields. Inlines are also fixed. I will
submit a new patch soon. I am working on tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:3>
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:4>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:5>
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:6>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:7>
* stage: Unreviewed => Design decision needed
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:8>
Comment (by aaugustin):
#17214 is probably a duplicate.
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:9>
* stage: Design decision needed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:10>
* status: new => closed
* resolution: => fixed
Comment:
Considering that `UUIDField` is now part of Django and that the admin
seems to work fine with it, I'm closing the ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/17122#comment:11>