Ticket #6921: r7378-contrib-admin-views-main.diff
File r7378-contrib-admin-views-main.diff, 556 bytes (added by , 17 years ago) |
---|
-
main.py
177 177 return mark_safe('?' + '&'.join([u'%s=%s' % (k, v) for k, v in p.items()]).replace(' ', '%20')) 178 178 179 179 def get_results(self, request): 180 paginator = QuerySetPaginator(self.query_set, self.l ookup_opts.admin.list_per_page)180 paginator = QuerySetPaginator(self.query_set, self.list_per_page) 181 181 182 182 # Get the number of objects, with admin filters applied. 183 183 try: