django-pagination.git
15 years agoremoved spaces... heh.
leahculver [Wed, 11 Feb 2009 21:02:02 +0000 (13:02 -0800)]
removed spaces... heh.

15 years agoInfinitePaginator (from Pownce) with tests! The InfinitePaginator does not count...
leahculver [Wed, 11 Feb 2009 21:00:39 +0000 (13:00 -0800)]
InfinitePaginator (from Pownce) with tests! The InfinitePaginator does not count() the object_list and can be used for object_lists that are missing this method or for performance reasons.

16 years agoAdded Portuguese translation
floguy [Sun, 7 Dec 2008 08:41:30 +0000 (08:41 +0000)]
Added Portuguese translation

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@46 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded Portuguese translation
Alcides Fonseca [Fri, 5 Dec 2008 12:23:22 +0000 (12:23 +0000)]
Added Portuguese translation

16 years agoFixed #28. Added the ability for the autopaginate tag to raise an Http404. Also...
floguy [Thu, 4 Dec 2008 09:49:27 +0000 (09:49 +0000)]
Fixed #28.  Added the ability for the autopaginate tag to raise an Http404.  Also documented that feature as well as the other settings.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@45 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed bug introduced with python2.3 compatability. Also, renamed the PyPI package...
floguy [Sun, 26 Oct 2008 05:54:18 +0000 (05:54 +0000)]
Fixed bug introduced with python2.3 compatability.  Also, renamed the PyPI package to django-pagination instead of just pagination.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@44 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed some setuptools bugs.
floguy [Fri, 24 Oct 2008 09:06:08 +0000 (09:06 +0000)]
Fixed some setuptools bugs.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@43 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded the ability to save the result list as a variable in the template's context...
floguy [Fri, 24 Oct 2008 08:47:05 +0000 (08:47 +0000)]
Added the ability to save the result list as a variable in the template's context.  Thanks for the original inspiration for this patch, n.leush.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@42 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAllow for a variable as the paginate_by parameter. Also added tests for this case...
floguy [Fri, 24 Oct 2008 08:29:57 +0000 (08:29 +0000)]
Allow for a variable as the paginate_by parameter.  Also added tests for this case.  Thanks, lfrodrigues.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@41 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFix a possible uncaught attribute error. Thanks for the bug report, bela.hausmann.
floguy [Fri, 24 Oct 2008 08:12:03 +0000 (08:12 +0000)]
Fix a possible uncaught attribute error.  Thanks for the bug report, bela.hausmann.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@40 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded setup.py and ez_setup.py getting ready for proper release to PyPI. Thanks...
floguy [Fri, 24 Oct 2008 08:06:46 +0000 (08:06 +0000)]
Added setup.py and ez_setup.py getting ready for proper release to PyPI.  Thanks to dan.fairs and for some extra stuff from Eric Holscher's blog.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@39 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed some python2.3 backwards incompatibility issues.
floguy [Fri, 24 Oct 2008 07:51:14 +0000 (07:51 +0000)]
Fixed some python2.3 backwards incompatibility issues.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@38 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded translation files for french and polish locales. Thanks, jdemoor and jarek...
floguy [Fri, 24 Oct 2008 07:43:52 +0000 (07:43 +0000)]
Added translation files for french and polish locales.  Thanks, jdemoor and jarek.zgoda!

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@37 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoOops, forgot to add index.txt
floguy [Mon, 20 Oct 2008 04:18:44 +0000 (04:18 +0000)]
Oops, forgot to add index.txt

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@36 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoMoved docs into the docs directory. Also, added an index.txt useful for sphinx docum...
floguy [Mon, 20 Oct 2008 04:15:46 +0000 (04:15 +0000)]
Moved docs into the docs directory.  Also, added an index.txt useful for sphinx documentation.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@35 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoChanged back from .rst to .txt to match Django's convention
floguy [Fri, 19 Sep 2008 03:54:02 +0000 (03:54 +0000)]
Changed back from .rst to .txt to match Django's convention

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@34 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoRemoved some redundant uses of sorted(list(..)) to be just sorted(..).
floguy [Mon, 8 Sep 2008 07:05:05 +0000 (07:05 +0000)]
Removed some redundant uses of sorted(list(..)) to be just sorted(..).

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@33 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded more explicit setting as per #17
floguy [Fri, 5 Sep 2008 09:21:01 +0000 (09:21 +0000)]
Added more explicit setting as per #17

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@32 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoMoved to the more proper .rst file extension.
floguy [Sat, 30 Aug 2008 18:22:47 +0000 (18:22 +0000)]
Moved to the more proper .rst file extension.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@31 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed documentation to include the step about adding the request context processor.
floguy [Sat, 30 Aug 2008 18:22:10 +0000 (18:22 +0000)]
Fixed documentation to include the step about adding the request context processor.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@30 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded German locale. Thanks, Bela Hausmann! This fixes #9.
floguy [Sat, 30 Aug 2008 18:16:54 +0000 (18:16 +0000)]
Added German locale.  Thanks, Bela Hausmann!  This fixes #9.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@29 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded a new exception handler in the middleware.
floguy [Sat, 30 Aug 2008 18:10:59 +0000 (18:10 +0000)]
Added a new exception handler in the middleware.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@28 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoDropped support for the deprecated QuerySetPaginator, and also fixed an issue with...
floguy [Sat, 30 Aug 2008 18:09:34 +0000 (18:09 +0000)]
Dropped support for the deprecated QuerySetPaginator, and also fixed an issue with lazy loading of non-QuerySet iterables.  Thanks, Ben Firshman, for the patch!  This fixes issue #15.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@27 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agofixed stupid import bug, so sorry
leidel [Sat, 16 Aug 2008 23:39:35 +0000 (23:39 +0000)]
fixed stupid import bug, so sorry

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@26 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agofixed issue #14, patch from Martin Mahner
leidel [Sat, 16 Aug 2008 19:27:10 +0000 (19:27 +0000)]
fixed issue #14, patch from Martin Mahner

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@25 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed #12, updated middleware to access request variable with request.REQUEST dict...
leidel [Tue, 5 Aug 2008 00:37:29 +0000 (00:37 +0000)]
Fixed #12, updated middleware to access request variable with request.REQUEST dict, thanks jphalip

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@24 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded support for orphans. Thanks, Martin Mahner.
floguy [Mon, 21 Jul 2008 09:03:14 +0000 (09:03 +0000)]
Added support for orphans.  Thanks, Martin Mahner.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@23 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed doctests.
floguy [Sun, 13 Jul 2008 22:17:49 +0000 (22:17 +0000)]
Fixed doctests.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@22 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed #1. Thanks, Martin Mahner and Jannis Leidel.
floguy [Sun, 13 Jul 2008 22:15:50 +0000 (22:15 +0000)]
Fixed #1.  Thanks, Martin Mahner and Jannis Leidel.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@21 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoOK rst2a is caching too long, so I have generated docs in docs/index.html
floguy [Sun, 13 Jul 2008 22:02:56 +0000 (22:02 +0000)]
OK rst2a is caching too long, so I have generated docs in docs/index.html

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@20 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoTry 3: Hopefully made README.txt conform to ReST syntax.
floguy [Sun, 13 Jul 2008 21:57:15 +0000 (21:57 +0000)]
Try 3: Hopefully made README.txt conform to ReST syntax.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@19 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoTry 2: Hopefully made README.txt conform to ReST syntax.
floguy [Sun, 13 Jul 2008 21:55:25 +0000 (21:55 +0000)]
Try 2: Hopefully made README.txt conform to ReST syntax.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@18 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoHopefully made README.txt conform to ReST syntax.
floguy [Sun, 13 Jul 2008 21:54:11 +0000 (21:54 +0000)]
Hopefully made README.txt conform to ReST syntax.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@17 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFixed bug with extra getvars where an ampersand was always appended.
floguy [Fri, 11 Jul 2008 08:09:51 +0000 (08:09 +0000)]
Fixed bug with extra getvars where an ampersand was always appended.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@16 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoUpdated documentation and reduced overall complexity by stripping away the registrati...
floguy [Tue, 1 Jul 2008 06:40:52 +0000 (06:40 +0000)]
Updated documentation and reduced overall complexity by stripping away the registration, which nobody used anyway.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@15 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agopaging maintains other GET parameters -- contributed by jezdez
jtauber [Wed, 18 Jun 2008 09:48:32 +0000 (09:48 +0000)]
paging maintains other GET parameters -- contributed by jezdez

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@14 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded test suite, and prevented pagination if the elusion would take up only one...
floguy [Fri, 30 May 2008 04:35:24 +0000 (04:35 +0000)]
Added test suite, and prevented pagination if the elusion would take up only one space.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@13 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoNitpicky thing with the templates.
floguy [Fri, 30 May 2008 03:59:45 +0000 (03:59 +0000)]
Nitpicky thing with the templates.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@12 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoProbably fixed a potential bug with extraneous ellipses.
floguy [Fri, 30 May 2008 03:49:57 +0000 (03:49 +0000)]
Probably fixed a potential bug with extraneous ellipses.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@11 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoUndid README for now since it was totally off.
floguy [Fri, 30 May 2008 03:44:25 +0000 (03:44 +0000)]
Undid README for now since it was totally off.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@10 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded more granular control over the default template output, and also got a handle...
floguy [Fri, 30 May 2008 03:38:49 +0000 (03:38 +0000)]
Added more granular control over the default template output, and also got a handle on how much whitespace was being generated.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@9 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoMade the error handling a bit more elegant, causing fewer failures.
floguy [Thu, 29 May 2008 08:22:41 +0000 (08:22 +0000)]
Made the error handling a bit more elegant, causing fewer failures.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@8 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoOops, forgot to add some files. Now version 0.1 is alive and kicking.
floguy [Thu, 29 May 2008 05:36:20 +0000 (05:36 +0000)]
Oops, forgot to add some files.  Now version 0.1 is alive and kicking.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@7 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoVersion 0.1 alive and kicking!
floguy [Thu, 29 May 2008 05:35:43 +0000 (05:35 +0000)]
Version 0.1 alive and kicking!

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@6 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded more svn:ignore action.
floguy [Thu, 29 May 2008 03:31:45 +0000 (03:31 +0000)]
Added more svn:ignore action.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@5 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoFleshed out initial version of the paginate templatetag.
floguy [Thu, 29 May 2008 03:08:14 +0000 (03:08 +0000)]
Fleshed out initial version of the paginate templatetag.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@4 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoAdded svn:ignore properties.
floguy [Thu, 29 May 2008 02:33:33 +0000 (02:33 +0000)]
Added svn:ignore properties.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@3 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoCreated the initial directory structure.
floguy [Thu, 29 May 2008 02:32:45 +0000 (02:32 +0000)]
Created the initial directory structure.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@2 7f1efe38-554e-0410-b69d-834cb44da2d5

16 years agoInitial directory structure.
(no author) [Thu, 29 May 2008 02:24:02 +0000 (02:24 +0000)]
Initial directory structure.

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@1 7f1efe38-554e-0410-b69d-834cb44da2d5