Markus Törnqvist [Wed, 26 Jun 2013 12:38:05 +0000 (15:38 +0300)]
Context is updated, return it. Also avoid recursion error.
Markus Törnqvist [Wed, 26 Jun 2013 12:11:47 +0000 (15:11 +0300)]
Test project settings so test can run
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
Markus Törnqvist [Tue, 25 Jun 2013 09:23:31 +0000 (12:23 +0300)]
Rename to_return variable to make more sense
Markus Törnqvist [Tue, 25 Jun 2013 08:36:42 +0000 (11:36 +0300)]
Always pass the context through
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
Jimmy Ye [Thu, 20 Jun 2013 18:40:40 +0000 (18:40 +0000)]
Avoid page_suffix when context['paginator'] is None
Zygmunt Krynicki [Fri, 17 May 2013 10:32:06 +0000 (03:32 -0700)]
Merge pull request #12 from boromil/
2918ede7ab519905630f6a78389d5a613b0a814f
Hey
Krzysztof Malinowski [Thu, 21 Mar 2013 11:18:32 +0000 (12:18 +0100)]
fix for test failures
Zygmunt Krynicki [Thu, 26 Jan 2012 14:18:13 +0000 (06:18 -0800)]
Merge pull request #11 from stephane/master
Fix PO files
Stéphane Raimbault [Thu, 26 Jan 2012 12:38:59 +0000 (13:38 +0100)]
Fix all PO files to be valid for msgfmt
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
ptone [Tue, 8 Nov 2011 16:56:23 +0000 (08:56 -0800)]
noted block scope for autopaginate tag
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
Alen Mujezinovic [Wed, 3 Aug 2011 13:50:11 +0000 (14:50 +0100)]
Pass the template context to the pagination template
Zygmunt Krynicki [Wed, 29 Jun 2011 00:48:32 +0000 (01:48 +0100)]
Describe the motives behind top-level package name change
Zygmunt Krynicki [Wed, 22 Jun 2011 23:14:03 +0000 (01:14 +0200)]
Release 2.0.2
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
Zygmunt Krynicki [Wed, 22 Jun 2011 17:35:39 +0000 (19:35 +0200)]
Release 2.0.1
Zygmunt Krynicki [Wed, 22 Jun 2011 17:23:13 +0000 (19:23 +0200)]
Improve documentation for using custom pagination templates
Zygmunt Krynicki [Wed, 22 Jun 2011 17:22:18 +0000 (19:22 +0200)]
Document multiple paginations per page
Zygmunt Krynicki [Wed, 22 Jun 2011 17:21:51 +0000 (19:21 +0200)]
Use correct template name in do_paginate docstring
Zygmunt Krynicki [Wed, 22 Jun 2011 17:21:22 +0000 (19:21 +0200)]
Provide correct link to installation instructions
Zygmunt Krynicki [Wed, 22 Jun 2011 17:20:54 +0000 (19:20 +0200)]
Fix documentation referencing all project name
Zygmunt Krynicki [Wed, 22 Jun 2011 17:20:01 +0000 (19:20 +0200)]
Ignore vim swap files
Zygmunt Krynicki [Wed, 22 Jun 2011 17:02:23 +0000 (19:02 +0200)]
Add templates from the test project to MANIFEST.in
Zygmunt Krynicki [Wed, 22 Jun 2011 17:02:07 +0000 (19:02 +0200)]
Bump version to 2.0.1 dev
Zygmunt Krynicki [Tue, 14 Jun 2011 11:40:12 +0000 (13:40 +0200)]
Release 2.0
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.
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.
Zygmunt Krynicki [Tue, 14 Jun 2011 11:32:20 +0000 (13:32 +0200)]
Use versiontools in setup, bump version to 2.0
Zygmunt Krynicki [Tue, 14 Jun 2011 10:53:44 +0000 (12:53 +0200)]
Fix typo
Zygmunt Krynicki [Tue, 14 Jun 2011 10:51:49 +0000 (12:51 +0200)]
Use custom template the example app
Zygmunt Krynicki [Tue, 14 Jun 2011 10:51:20 +0000 (12:51 +0200)]
Improve {% autopaginate %} error message
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.
Zygmunt Krynicki [Tue, 14 Jun 2011 09:21:54 +0000 (11:21 +0200)]
PEP8 fixes
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
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.
Zygmunt Krynicki [Tue, 14 Jun 2011 08:57:45 +0000 (10:57 +0200)]
Use lowercase (c) for copyright
Zygmunt Krynicki [Tue, 14 Jun 2011 08:55:54 +0000 (10:55 +0200)]
Ignore test project database
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
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.
Zygmunt Krynicki [Tue, 14 Jun 2011 08:52:43 +0000 (10:52 +0200)]
Do not use has_key
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.
Zygmunt Krynicki [Tue, 14 Jun 2011 07:26:23 +0000 (09:26 +0200)]
Add simple HACKING file
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
Zygmunt Krynicki [Tue, 14 Jun 2011 07:24:58 +0000 (09:24 +0200)]
Update copyright headers
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.
Zygmunt Krynicki [Mon, 13 Jun 2011 13:41:46 +0000 (15:41 +0200)]
Update homepage in setup.py
Zygmunt Krynicki [Mon, 13 Jun 2011 13:39:35 +0000 (15:39 +0200)]
Update README
Add extra information about the fork.
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
Zygmunt Krynicki [Mon, 13 Jun 2011 12:55:25 +0000 (14:55 +0200)]
Fix Portuguese translation
Zygmunt Krynicki [Mon, 13 Jun 2011 12:54:57 +0000 (14:54 +0200)]
Merge branch 'master' of git://github.com/tiagosc/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
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
Zygmunt Krynicki [Mon, 13 Jun 2011 12:45:15 +0000 (14:45 +0200)]
Merge branch 'master' of git://github.com/tzangms/django-pagination
Zygmunt Krynicki [Mon, 13 Jun 2011 12:44:19 +0000 (14:44 +0200)]
Fix spanish translation
Zygmunt Krynicki [Mon, 13 Jun 2011 12:43:14 +0000 (14:43 +0200)]
Merge branch 'master' of git://github.com/maraujop/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
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
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
Zygmunt Krynicki [Mon, 13 Jun 2011 12:02:02 +0000 (14:02 +0200)]
Remove turkish .mo file
Zygmunt Krynicki [Mon, 13 Jun 2011 12:01:26 +0000 (14:01 +0200)]
Merge branch 'turkish' of git://github.com/amiroff/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
Zygmunt Krynicki [Mon, 13 Jun 2011 11:32:57 +0000 (13:32 +0200)]
Move long description to README
Zygmunt Krynicki [Mon, 13 Jun 2011 11:31:56 +0000 (13:31 +0200)]
Rename license to COPYING
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
tzangms [Sun, 8 May 2011 06:01:01 +0000 (14:01 +0800)]
add STATIC_URL
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
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
Martin Svoboda [Sat, 12 Feb 2011 01:48:14 +0000 (02:48 +0100)]
Extend templatetag paginate - flickr-like behaviour
Matt Culbreth [Tue, 18 Jan 2011 19:55:09 +0000 (14:55 -0500)]
Merge branch 'merge_multiple_paginators'
Matt Culbreth [Tue, 18 Jan 2011 19:54:46 +0000 (14:54 -0500)]
merged patch from flosch for multiple paginators on one page
Tiago Samahá Cordeiro [Mon, 17 Jan 2011 00:16:53 +0000 (22:16 -0200)]
Added translation file to portuguese (Brazil).
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.
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'
Zygmunt Krynicki [Mon, 13 Jun 2011 11:11:00 +0000 (13:11 +0200)]
Remove .mo files
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
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.
Miguel Araujo [Thu, 16 Sep 2010 14:46:45 +0000 (16:46 +0200)]
Adding Spanish translation
Stéphane Raimbault [Tue, 27 Jul 2010 08:47:00 +0000 (10:47 +0200)]
Whitespace cleanup in setup.py
Stéphane Raimbault [Tue, 27 Jul 2010 08:43:44 +0000 (10:43 +0200)]
Fix installation of locales
Justin Quick [Tue, 20 Jul 2010 18:57:17 +0000 (14:57 -0400)]
version bump
Justin Quick [Tue, 20 Jul 2010 18:57:11 +0000 (14:57 -0400)]
add request back from context and fix error handling
Stanislav Panasik [Sun, 11 Jul 2010 12:26:16 +0000 (18:26 +0600)]
Added support for multiple paginations on the same template. (Florian Schlachter )
Stanislav Panasik [Sun, 11 Jul 2010 10:17:09 +0000 (16:17 +0600)]
russian locale added
Metin Amiroff [Mon, 21 Jun 2010 08:39:17 +0000 (11:39 +0300)]
Added Turkish locale
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.
Fabio Corneti [Thu, 22 Apr 2010 10:11:06 +0000 (12:11 +0200)]
Fixed italian locale
Fabio Corneti [Thu, 22 Apr 2010 10:07:49 +0000 (12:07 +0200)]
Ignore build directory
Fabio Corneti [Thu, 22 Apr 2010 10:06:26 +0000 (12:06 +0200)]
Italian locale
Fabio Corneti [Thu, 22 Apr 2010 10:01:26 +0000 (12:01 +0200)]
Include locales in egg
Fabio Corneti [Thu, 22 Apr 2010 10:01:19 +0000 (12:01 +0200)]
Custom pagination templates
Fabio Corneti [Thu, 22 Apr 2010 08:56:17 +0000 (10:56 +0200)]
New settings for basic pagination customization, backwards compatible:
* DISPLAY_PAGE_LINKS
* PREVIOUS_LINK_DECORATOR
* NEXT_LINK_DECORATOR
* DISPLAY_DISABLED_PREVIOUS_LINK
* DISPLAY_DISABLED_NEXT_LINK
Fabio Corneti [Thu, 22 Apr 2010 08:43:41 +0000 (10:43 +0200)]
Working on version 1.0.7
Brian Rosner [Fri, 16 Apr 2010 15:31:27 +0000 (09:31 -0600)]
Merge remote branch 'carljm/hashtag'
Conflicts:
pagination/templatetags/pagination_tags.py
Brian Rosner [Fri, 16 Apr 2010 15:29:48 +0000 (09:29 -0600)]
added dist and egg-info to .gitignore
Brian Rosner [Tue, 13 Apr 2010 00:13:55 +0000 (18:13 -0600)]
1.0.6
Brian Rosner [Tue, 13 Apr 2010 00:13:12 +0000 (18:13 -0600)]
Merge remote branch 'ericflo/master'
Håvard Grimelid [Tue, 30 Mar 2010 17:50:25 +0000 (19:50 +0200)]
Uppercased norwegian button labels.