Opened 6 years ago

Closed 6 years ago

#7192 closed (wontfix)

class Paginator::def _get_count(self):

Reported by: kamanwu Owned by: nobody
Component: Tools Version: master
Severity: Keywords: Paginator
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:



self._count = len(self.object_list)



self._count = int(self.object_list.count())

except (AttributeError, TypeError, ValueError):

self._count = len(self.object_list)

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

There is a separate QuerySetPageinator class that implements using the count method.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.