Ticket #6323: change_view_patch.diff
File change_view_patch.diff, 598 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/options.py
536 536 app_label = opts.app_label 537 537 538 538 try: 539 obj = model._default_manager.get(pk=object_id)539 obj = self.queryset_change(request).get(pk=object_id) 540 540 except model.DoesNotExist: 541 541 # Don't raise Http404 just yet, because we haven't checked 542 542 # permissions yet. We don't want an unauthenticated user to be able