The _build_args function doesn't work correctly for ObjectArgs

Bug #726191 reported by Shailesh Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Django ModelStore
New
Undecided
Unassigned

Bug Description

BaseMethod has two members : self.args, self.kwargs.
_build_args replaces the contents of these members with data from self.field.proxied_args.

While this works fine for StoreArg, ModelArg and RequestArg, this is completely incorrect for ObjectArg. The current implementation causes 1st object in the queryset to be placed as the ObjectArg for each call to get_value.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.