Ticket #6921: r7378-contrib-admin-views-main.diff

File r7378-contrib-admin-views-main.diff, 556 bytes (added by hambaloney, 17 years ago)
  • main.py

     
    177177        return mark_safe('?' + '&'.join([u'%s=%s' % (k, v) for k, v in p.items()]).replace(' ', '%20'))
    178178
    179179    def get_results(self, request):
    180         paginator = QuerySetPaginator(self.query_set, self.lookup_opts.admin.list_per_page)
     180        paginator = QuerySetPaginator(self.query_set, self.list_per_page)
    181181
    182182        # Get the number of objects, with admin filters applied.
    183183        try:
Back to Top