Changes between Initial Version and Version 1 of Ticket #17657, comment 12
- Timestamp:
- Jul 11, 2016, 3:10:42 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17657, comment 12
initial v1 1 1 Unfortunately, the proposed patch doesn't work anymore. The original idea was to have `model_dict` to return "raw" values provided by `f.value_from_object()` and let the form fields to the rest. Now it's impossible because `ManyToManyField.value_from_object` was changed so that it always returns a list of `pk`s instead of a `QuerySet`. See https://github.com/django/django/commit/67d984413c9540074e4fe6aa033081a35cf192bc 2 2 3 I've created a new pull requestGitHub with the following changes:3 I've created a [https://github.com/django/django/pull/6904 new pull request] GitHub with the following changes: 4 4 5 5 1. Revert `ManyToManyField.value_from_obj` back to return a `QuerySet` instead of a list of `pk`s