django-pagination.git
10 years agoMerge pull request #21 from hsoft/py3
Zygmunt Krynicki [Tue, 14 Jan 2014 14:04:33 +0000 (06:04 -0800)]
Merge pull request #21 from hsoft/py3

Support Python 3.3

10 years agoSupport Python 3.3
Virgil Dupras [Tue, 14 Jan 2014 00:55:46 +0000 (19:55 -0500)]
Support Python 3.3

I went for the minimal option and tried to preserve the previous logic
as much as possible.

I target Python 3.3 so that I don't have to touch the u'' strings.

11 years agoMerge pull request #20 from mjtorn/fi_locale
Zygmunt Krynicki [Thu, 11 Jul 2013 13:32:34 +0000 (06:32 -0700)]
Merge pull request #20 from mjtorn/fi_locale

Finnish locale

11 years agoFinnish locale
Markus Törnqvist [Thu, 11 Jul 2013 13:00:11 +0000 (16:00 +0300)]
Finnish locale

11 years agoMerge pull request #17 from mjtorn/master
Zygmunt Krynicki [Wed, 26 Jun 2013 14:26:41 +0000 (07:26 -0700)]
Merge pull request #17 from mjtorn/master

Hopefully last pull request :)

11 years agoSkip updating empty dict over context
Markus Törnqvist [Wed, 26 Jun 2013 13:02:56 +0000 (16:02 +0300)]
Skip updating empty dict over context

11 years agoRevert "Oops, do not return new_context just yet, update and then return"
Markus Törnqvist [Wed, 26 Jun 2013 12:57:10 +0000 (15:57 +0300)]
Revert "Oops, do not return new_context just yet, update and then return"

This reverts commit 73848ab99035e9b6d0bb6cf2f0483d70aac22b62.

11 years agoRevert "Context is updated, return it. Also avoid recursion error."
Markus Törnqvist [Wed, 26 Jun 2013 12:56:53 +0000 (15:56 +0300)]
Revert "Context is updated, return it. Also avoid recursion error."

This reverts commit 12fa5deb8220b12e21b44524751cc515796bf219.

11 years agoContext is updated, return it. Also avoid recursion error.
Markus Törnqvist [Wed, 26 Jun 2013 12:38:05 +0000 (15:38 +0300)]
Context is updated, return it. Also avoid recursion error.

11 years agoTest project settings so test can run
Markus Törnqvist [Wed, 26 Jun 2013 12:11:47 +0000 (15:11 +0300)]
Test project settings so test can run

11 years agoMerge pull request #15 from mjtorn/master
Zygmunt Krynicki [Wed, 26 Jun 2013 11:49:21 +0000 (04:49 -0700)]
Merge pull request #15 from mjtorn/master

Unnecessarily early return to be fixed

11 years agoOops, do not return new_context just yet, update and then return
Markus Törnqvist [Wed, 26 Jun 2013 11:43:28 +0000 (14:43 +0300)]
Oops, do not return new_context just yet, update and then return

11 years agoMerge pull request #14 from mjtorn/master
Zygmunt Krynicki [Tue, 25 Jun 2013 09:28:00 +0000 (02:28 -0700)]
Merge pull request #14 from mjtorn/master

Context passing on exceptions

11 years agoRename to_return variable to make more sense
Markus Törnqvist [Tue, 25 Jun 2013 09:23:31 +0000 (12:23 +0300)]
Rename to_return variable to make more sense

11 years agoAlways pass the context through
Markus Törnqvist [Tue, 25 Jun 2013 08:36:42 +0000 (11:36 +0300)]
Always pass the context through

11 years agoMerge pull request #13 from jimmyye/master
Zygmunt Krynicki [Fri, 21 Jun 2013 12:25:27 +0000 (05:25 -0700)]
Merge pull request #13 from jimmyye/master

Avoid page_suffix when context['paginator'] is None

11 years agoAvoid page_suffix when context['paginator'] is None
Jimmy Ye [Thu, 20 Jun 2013 18:40:40 +0000 (18:40 +0000)]
Avoid page_suffix when context['paginator'] is None

11 years agoMerge pull request #12 from boromil/2918ede7ab519905630f6a78389d5a613b0a814f
Zygmunt Krynicki [Fri, 17 May 2013 10:32:06 +0000 (03:32 -0700)]
Merge pull request #12 from boromil/2918ede7ab519905630f6a78389d5a613b0a814f

Hey

11 years agofix for test failures
Krzysztof Malinowski [Thu, 21 Mar 2013 11:18:32 +0000 (12:18 +0100)]
fix for test failures

12 years agoMerge pull request #11 from stephane/master
Zygmunt Krynicki [Thu, 26 Jan 2012 14:18:13 +0000 (06:18 -0800)]
Merge pull request #11 from stephane/master

Fix PO files

12 years agoFix all PO files to be valid for msgfmt
Stéphane Raimbault [Thu, 26 Jan 2012 12:38:59 +0000 (13:38 +0100)]
Fix all PO files to be valid for msgfmt

13 years agoMerge pull request #8 from ptone/master
Zygmunt Krynicki [Tue, 8 Nov 2011 19:30:58 +0000 (11:30 -0800)]
Merge pull request #8 from ptone/master

note block scope for autopaginate tag

13 years agonoted block scope for autopaginate tag
ptone [Tue, 8 Nov 2011 16:56:23 +0000 (08:56 -0800)]
noted block scope for autopaginate tag

13 years agoMerge pull request #3 from flashingpumpkin/master
Zygmunt Krynicki [Wed, 17 Aug 2011 20:56:57 +0000 (13:56 -0700)]
Merge pull request #3 from flashingpumpkin/master

Pass the original template context when rendering paginated fragment

13 years agoPass the template context to the pagination template
Alen Mujezinovic [Wed, 3 Aug 2011 13:50:11 +0000 (14:50 +0100)]
Pass the template context to the pagination template

13 years agoDescribe the motives behind top-level package name change
Zygmunt Krynicki [Wed, 29 Jun 2011 00:48:32 +0000 (01:48 +0100)]
Describe the motives behind top-level package name change

13 years agoRelease 2.0.2 release-2.0.2
Zygmunt Krynicki [Wed, 22 Jun 2011 23:14:03 +0000 (01:14 +0200)]
Release 2.0.2

13 years agoUse versiontools in pip-friendly way
Zygmunt Krynicki [Wed, 22 Jun 2011 22:31:59 +0000 (00:31 +0200)]
Use versiontools in pip-friendly way

This is based on a new feature added to versiontools 1.3
(or more accurately on 1.3.1). For more details see:
http://packages.python.org/versiontools/changes.html#version-1-3

13 years agoRelease 2.0.1 release-2.0.1
Zygmunt Krynicki [Wed, 22 Jun 2011 17:35:39 +0000 (19:35 +0200)]
Release 2.0.1

13 years agoImprove documentation for using custom pagination templates
Zygmunt Krynicki [Wed, 22 Jun 2011 17:23:13 +0000 (19:23 +0200)]
Improve documentation for using custom pagination templates

13 years agoDocument multiple paginations per page
Zygmunt Krynicki [Wed, 22 Jun 2011 17:22:18 +0000 (19:22 +0200)]
Document multiple paginations per page

13 years agoUse correct template name in do_paginate docstring
Zygmunt Krynicki [Wed, 22 Jun 2011 17:21:51 +0000 (19:21 +0200)]
Use correct template name in do_paginate docstring

13 years agoProvide correct link to installation instructions
Zygmunt Krynicki [Wed, 22 Jun 2011 17:21:22 +0000 (19:21 +0200)]
Provide correct link to installation instructions

13 years agoFix documentation referencing all project name
Zygmunt Krynicki [Wed, 22 Jun 2011 17:20:54 +0000 (19:20 +0200)]
Fix documentation referencing all project name

13 years agoIgnore vim swap files
Zygmunt Krynicki [Wed, 22 Jun 2011 17:20:01 +0000 (19:20 +0200)]
Ignore vim swap files

13 years agoAdd templates from the test project to MANIFEST.in
Zygmunt Krynicki [Wed, 22 Jun 2011 17:02:23 +0000 (19:02 +0200)]
Add templates from the test project to MANIFEST.in

13 years agoBump version to 2.0.1 dev
Zygmunt Krynicki [Wed, 22 Jun 2011 17:02:07 +0000 (19:02 +0200)]
Bump version to 2.0.1 dev

13 years agoRelease 2.0 release-2.0
Zygmunt Krynicki [Tue, 14 Jun 2011 11:40:12 +0000 (13:40 +0200)]
Release 2.0

13 years agoShorten README
Zygmunt Krynicki [Tue, 14 Jun 2011 11:37:42 +0000 (13:37 +0200)]
Shorten README

Instead of duplicating everything point people at the built
documentation.

13 years agoRevive documentation.
Zygmunt Krynicki [Tue, 14 Jun 2011 11:33:14 +0000 (13:33 +0200)]
Revive documentation.

Documentation is now buildable with setup.py build_sphinx.
Some missing components were added to make it consistent and pretty.

13 years agoUse versiontools in setup, bump version to 2.0
Zygmunt Krynicki [Tue, 14 Jun 2011 11:32:20 +0000 (13:32 +0200)]
Use versiontools in setup, bump version to 2.0

13 years agoFix typo
Zygmunt Krynicki [Tue, 14 Jun 2011 10:53:44 +0000 (12:53 +0200)]
Fix typo

13 years agoUse custom template the example app
Zygmunt Krynicki [Tue, 14 Jun 2011 10:51:49 +0000 (12:51 +0200)]
Use custom template the example app

13 years agoImprove {% autopaginate %} error message
Zygmunt Krynicki [Tue, 14 Jun 2011 10:51:20 +0000 (12:51 +0200)]
Improve {% autopaginate %} error message

13 years agoImprove do_paginate parsing
Zygmunt Krynicki [Tue, 14 Jun 2011 10:50:28 +0000 (12:50 +0200)]
Improve do_paginate parsing

The parser can now correctly handle quoted template names.
Error reporting is more consistent and easier to understand.

13 years agoPEP8 fixes
Zygmunt Krynicki [Tue, 14 Jun 2011 09:21:54 +0000 (11:21 +0200)]
PEP8 fixes

13 years agoMerge branch 'master' of git://github.com/callowayproject/django-pagination
Zygmunt Krynicki [Tue, 14 Jun 2011 09:21:36 +0000 (11:21 +0200)]
Merge branch 'master' of git://github.com/callowayproject/django-pagination

Conflicts:
pagination/templatetags/pagination_tags.py
setup.py

13 years agoReorder apps to make tests run
Zygmunt Krynicki [Tue, 14 Jun 2011 08:59:46 +0000 (10:59 +0200)]
Reorder apps to make tests run

Tests in django-testproject are not invoked for all applications
as that takes lots of time (we don't want to test auth all over again).
Instead, by default, only the last application test suite is invoked.

13 years agoUse lowercase (c) for copyright
Zygmunt Krynicki [Tue, 14 Jun 2011 08:57:45 +0000 (10:57 +0200)]
Use lowercase (c) for copyright

13 years agoIgnore test project database
Zygmunt Krynicki [Tue, 14 Jun 2011 08:55:54 +0000 (10:55 +0200)]
Ignore test project database

13 years agoAdd example application to test_project
Zygmunt Krynicki [Tue, 14 Jun 2011 08:54:37 +0000 (10:54 +0200)]
Add example application to test_project

This application shows how to use some of the features in practice

13 years agoBe smarter about missing request object.
Zygmunt Krynicki [Tue, 14 Jun 2011 08:53:42 +0000 (10:53 +0200)]
Be smarter about missing request object.

The application requires uses to use request context processor.
If it is not enabled let's warn the user and explain the situation
using ImproperlyConfigured exception rather than cryptic bactrace.

13 years agoDo not use has_key
Zygmunt Krynicki [Tue, 14 Jun 2011 08:52:43 +0000 (10:52 +0200)]
Do not use has_key

13 years agoSplit settings to dedicated module.
Zygmunt Krynicki [Tue, 14 Jun 2011 08:52:29 +0000 (10:52 +0200)]
Split settings to dedicated module.

Application-specific settings can now be easily inspected
or extended by looking at a single module.

13 years agoAdd simple HACKING file
Zygmunt Krynicki [Tue, 14 Jun 2011 07:26:23 +0000 (09:26 +0200)]
Add simple HACKING file

13 years agoUpdate setup.py/setup.cfg
Zygmunt Krynicki [Tue, 14 Jun 2011 07:26:10 +0000 (09:26 +0200)]
Update setup.py/setup.cfg

Version bump to 1.1
Author update
Classifiers update
Drop zip safe

13 years agoUpdate copyright headers
Zygmunt Krynicki [Tue, 14 Jun 2011 07:24:58 +0000 (09:24 +0200)]
Update copyright headers

13 years agoUse test project to run tests
Zygmunt Krynicki [Mon, 13 Jun 2011 19:49:12 +0000 (21:49 +0200)]
Use test project to run tests

This allows all tests to be ran via the semi-standardized
`setup.py test`. Also drop the old code that was used for this
purpose.

13 years agoUpdate homepage in setup.py
Zygmunt Krynicki [Mon, 13 Jun 2011 13:41:46 +0000 (15:41 +0200)]
Update homepage in setup.py

13 years agoUpdate README
Zygmunt Krynicki [Mon, 13 Jun 2011 13:39:35 +0000 (15:39 +0200)]
Update README

Add extra information about the fork.

13 years agoMerge branch 'master' of git://github.com/martinsvoboda/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 13:24:41 +0000 (15:24 +0200)]
Merge branch 'master' of git://github.com/martinsvoboda/django-pagination

Conflicts:
linaro_django_pagination/templatetags/pagination_tags.py
linaro_django_pagination/tests.py
tests/runtests.py

13 years agoFix Portuguese translation
Zygmunt Krynicki [Mon, 13 Jun 2011 12:55:25 +0000 (14:55 +0200)]
Fix Portuguese translation

13 years agoMerge branch 'master' of git://github.com/tiagosc/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:54:57 +0000 (14:54 +0200)]
Merge branch 'master' of git://github.com/tiagosc/django-pagination

13 years agoMerge branch 'master' of git://github.com/stephane/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:54:16 +0000 (14:54 +0200)]
Merge branch 'master' of git://github.com/stephane/django-pagination

Conflicts:
MANIFEST.in
setup.py

13 years agoFix tests on django 1.2
Zygmunt Krynicki [Mon, 13 Jun 2011 12:49:23 +0000 (14:49 +0200)]
Fix tests on django 1.2

On django 1.2 STATIC_URL is not available by default

13 years agoMerge branch 'master' of git://github.com/tzangms/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:45:15 +0000 (14:45 +0200)]
Merge branch 'master' of git://github.com/tzangms/django-pagination

13 years agoFix spanish translation
Zygmunt Krynicki [Mon, 13 Jun 2011 12:44:19 +0000 (14:44 +0200)]
Fix spanish translation

13 years agoMerge branch 'master' of git://github.com/maraujop/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:43:14 +0000 (14:43 +0200)]
Merge branch 'master' of git://github.com/maraujop/django-pagination

13 years agoMerge branch 'master' of git://github.com/leah/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:41:40 +0000 (14:41 +0200)]
Merge branch 'master' of git://github.com/leah/django-pagination

Conflicts:
pagination/tests.py

13 years agoMerge branch 'master' of git://github.com/cicuz/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:30:21 +0000 (14:30 +0200)]
Merge branch 'master' of git://github.com/cicuz/django-pagination

Conflicts:
linaro_django_pagination/templates/pagination/pagination.html
linaro_django_pagination/templatetags/pagination_tags.py

13 years agoMerge branch 'master' of git://github.com/spanasik/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:12:31 +0000 (14:12 +0200)]
Merge branch 'master' of git://github.com/spanasik/django-pagination

Conflicts:
linaro_django_pagination/templates/pagination/pagination.html
linaro_django_pagination/templatetags/pagination_tags.py

13 years agoRemove turkish .mo file
Zygmunt Krynicki [Mon, 13 Jun 2011 12:02:02 +0000 (14:02 +0200)]
Remove turkish .mo file

13 years agoMerge branch 'turkish' of git://github.com/amiroff/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:01:26 +0000 (14:01 +0200)]
Merge branch 'turkish' of git://github.com/amiroff/django-pagination

13 years agoMerge branch 'master' of git://github.com/hgrimelid/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 11:56:31 +0000 (13:56 +0200)]
Merge branch 'master' of git://github.com/hgrimelid/django-pagination

Conflicts:
linaro_django_pagination/templatetags/pagination_tags.py

13 years agoMove long description to README
Zygmunt Krynicki [Mon, 13 Jun 2011 11:32:57 +0000 (13:32 +0200)]
Move long description to README

13 years agoRename license to COPYING
Zygmunt Krynicki [Mon, 13 Jun 2011 11:31:56 +0000 (13:31 +0200)]
Rename license to COPYING

13 years agoMerge branch 'more_customizations'
Michele Ciccozzi [Mon, 6 Jun 2011 13:06:45 +0000 (15:06 +0200)]
Merge branch 'more_customizations'

Conflicts:
pagination/templates/pagination/pagination.html
pagination/templatetags/pagination_tags.py

13 years agoadd STATIC_URL
tzangms [Sun, 8 May 2011 06:01:01 +0000 (14:01 +0800)]
add STATIC_URL

13 years agoMade the paginate tag a normal tag with an optional argument, template, to override...
jose [Wed, 20 Apr 2011 18:39:02 +0000 (14:39 -0400)]
Made the paginate tag a normal tag with an optional argument, template, to override the default template

13 years agoBump version to 1.0.7.1 to distinguish from upstream release
Zygmunt Krynicki [Tue, 1 Mar 2011 10:33:03 +0000 (11:33 +0100)]
Bump version to 1.0.7.1 to distinguish from upstream release

13 years agoExtend templatetag paginate - flickr-like behaviour
Martin Svoboda [Sat, 12 Feb 2011 01:48:14 +0000 (02:48 +0100)]
Extend templatetag paginate - flickr-like behaviour

13 years agoMerge branch 'merge_multiple_paginators'
Matt Culbreth [Tue, 18 Jan 2011 19:55:09 +0000 (14:55 -0500)]
Merge branch 'merge_multiple_paginators'

13 years agomerged patch from flosch for multiple paginators on one page
Matt Culbreth [Tue, 18 Jan 2011 19:54:46 +0000 (14:54 -0500)]
merged patch from flosch for multiple paginators on one page

13 years agoAdded translation file to portuguese (Brazil).
Tiago Samahá Cordeiro [Mon, 17 Jan 2011 00:16:53 +0000 (22:16 -0200)]
Added translation file to portuguese (Brazil).

14 years agoFix bug in {% autopaginate ... as ... %} handling.
Zygmunt Krynicki [Tue, 21 Dec 2010 15:06:35 +0000 (16:06 +0100)]
Fix bug in {% autopaginate ... as ... %} handling.

Simplify the parser and make it less error prone (no more if-then-else tree)
Allow orphans to be specified as variable.

13 years agoRename to linaro-django-pagination.
Zygmunt Krynicki [Mon, 13 Jun 2011 11:29:09 +0000 (13:29 +0200)]
Rename to linaro-django-pagination.

The import package changed from 'pagination' to 'linaro_django_pagination'.
The project name changed to 'linaro-django-pagination'

13 years agoRemove .mo files
Zygmunt Krynicki [Mon, 13 Jun 2011 11:11:00 +0000 (13:11 +0200)]
Remove .mo files

13 years agoBump version to 1.0.7.1 to distinguish from upstream release 1.0.7.1
Zygmunt Krynicki [Tue, 1 Mar 2011 10:33:03 +0000 (11:33 +0100)]
Bump version to 1.0.7.1 to distinguish from upstream release

14 years agoFix bug in {% autopaginate ... as ... %} handling.
Zygmunt Krynicki [Tue, 21 Dec 2010 15:06:35 +0000 (16:06 +0100)]
Fix bug in {% autopaginate ... as ... %} handling.

Simplify the parser and make it less error prone (no more if-then-else tree)
Allow orphans to be specified as variable.

14 years agoAdding Spanish translation
Miguel Araujo [Thu, 16 Sep 2010 14:46:45 +0000 (16:46 +0200)]
Adding Spanish translation

14 years agoWhitespace cleanup in setup.py
Stéphane Raimbault [Tue, 27 Jul 2010 08:47:00 +0000 (10:47 +0200)]
Whitespace cleanup in setup.py

14 years agoFix installation of locales
Stéphane Raimbault [Tue, 27 Jul 2010 08:43:44 +0000 (10:43 +0200)]
Fix installation of locales

14 years agoversion bump
Justin Quick [Tue, 20 Jul 2010 18:57:17 +0000 (14:57 -0400)]
version bump

14 years agoadd request back from context and fix error handling
Justin Quick [Tue, 20 Jul 2010 18:57:11 +0000 (14:57 -0400)]
add request back from context and fix error handling

14 years agoAdded support for multiple paginations on the same template. (Florian Schlachter )
Stanislav Panasik [Sun, 11 Jul 2010 12:26:16 +0000 (18:26 +0600)]
Added support for multiple paginations on the same template. (Florian Schlachter )

14 years agorussian locale added
Stanislav Panasik [Sun, 11 Jul 2010 10:17:09 +0000 (16:17 +0600)]
russian locale added

14 years agoAdded Turkish locale
Metin Amiroff [Mon, 21 Jun 2010 08:39:17 +0000 (11:39 +0300)]
Added Turkish locale

14 years ago1.0.7 — I somehow released the wrong code for 1.0.6. This has been corrected.
Brian Rosner [Thu, 6 May 2010 03:03:40 +0000 (21:03 -0600)]
1.0.7 — I somehow released the wrong code for 1.0.6. This has been corrected.

14 years agoFixed italian locale
Fabio Corneti [Thu, 22 Apr 2010 10:11:06 +0000 (12:11 +0200)]
Fixed italian locale

14 years agoIgnore build directory
Fabio Corneti [Thu, 22 Apr 2010 10:07:49 +0000 (12:07 +0200)]
Ignore build directory