Ticket #6358: django_admin_manager.diff

File django_admin_manager.diff, 501 bytes (added by Ionut Ciocirlan <ionut.ciocirlan@…>, 7 years ago)
  • django/contrib/admin/views/main.py

     
    561561        self.model = model
    562562        self.opts = model._meta
    563563        self.lookup_opts = self.opts
    564         self.manager = self.opts.admin.manager
     564        self.manager = self.model.objects
    565565
    566566        # Get search parameters from the query string.
    567567        try:
Back to Top