Gary Wilson Jr
|
52b877eef0
|
Fixed #7781 -- Documented the per_page argument/attribute for Paginator objects. Also documented Paginator 's other arguments and made use of ReST definition lists. Thanks to hiukkanen for the
report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-08-03 01:33:43 +00:00 |
|
Gary Wilson Jr
|
351a3ca154
|
Removed several deprecated features for 1.0 (refs #7830):
* "simple" cache backend
* `ObjectPaginator`
* `edit_inline_type` argument for `ForeignKey` fields
* `QOperator`, `QNot`, `QAnd` and `QOr`
* `maxlength` argument
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-08-02 04:56:11 +00:00 |
|
Gary Wilson Jr
|
9a5301ccbc
|
Made the Paginator class a bit more backwards compatible with the lecacy ObjectPaginator class by using the ObjectPaginator 's _get_count method. Instead of explicitly checking for an instance of QuerySet , this now allows any object with a count() or __len__() method defined to be passed to Paginator. For one, this is useful when you have custom QuerySet -like classes that implement a count() method but don't inherit from QuerySet explicitly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-07-27 23:01:55 +00:00 |
|
Adrian Holovaty
|
a724fff300
|
Fixed #7307 -- Split InvalidPage exception into two subclasses, PageNotAnInteger and EmptyPage, for granular exception catching. Thanks for the idea, miracle2k
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-07-08 02:20:48 +00:00 |
|
Adrian Holovaty
|
4406d283e1
|
Fixed #7478 -- Rolled QuerySetPaginator into the Paginator class, to simplify things. QuerySetPaginator still exists as an alias, for backwards compatibility. Thanks for the suggestion, batiste@dosimple.ch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-07-08 02:08:33 +00:00 |
|
Adrian Holovaty
|
edb3381c7a
|
Added docs/pagination.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-03-18 22:36:14 +00:00 |
|