A change_view should use self.queryset_change to lookup the object
|Reported by:||chrj||Owned by:||nobody|
|Cc:||post@…||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In my opinion, a change_view should use self.queryset_change to lookup the object. This way, the queryset_change method could also be used to restrict access to the change_view (as i think it was intended?).
I have attached a short patch.
Change History (5)
comment:1 Changed 9 years ago by
|Keywords:||nfa-someday added; newforms-admin removed|
|Triage Stage:||Unreviewed → Design decision needed|
|Version:||SVN → newforms-admin|