@property<EOL><INDENT>def pages(self):<DEDENT>
if self.per_page == <NUM_LIT:0> or self.total is None:<EOL><INDENT>pages = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>pages = int(ceil(self.total / float(self.per_page)))<EOL><DEDENT>return pages<EOL>
The total number of pages