Ticket #3803: newforms_admin_queryset.diff
File newforms_admin_queryset.diff, 779 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/options.py
283 283 Returns a QuerySet of all model instances that can be edited by the 284 284 admin site in the "add" stage. 285 285 """ 286 return self.queryset( )286 return self.queryset(request) 287 287 288 288 def queryset_change(self, request): 289 289 """ 290 290 Returns a QuerySet of all model instances that can be edited by the 291 291 admin site in the "change" stage. 292 292 """ 293 return self.queryset( )293 return self.queryset(request) 294 294 295 295 def save_add(self, request, model, form, post_url_continue): 296 296 """