Albert Tugushev [Fri, 1 Jan 2016 07:43:58 +0000 (10:43 +0300)]
Fix bug with multiple paginations
Since `parser.tokens` doesn't returns a whole tokens of a template, in this
case the last remaining autopaginate tag makes `multiple_paginations` false,
so page-suffix of the last paginate tag will be empty.
Albert Tugushev [Fri, 1 Jan 2016 09:09:59 +0000 (12:09 +0300)]
Convert doctests to django unittests
Resolve issue #30
Albert Tugushev [Fri, 1 Jan 2016 08:39:44 +0000 (11:39 +0300)]
Add new test runner
Also move test.py file to tests directory
Albert Tugushev [Fri, 1 Jan 2016 08:44:49 +0000 (11:44 +0300)]
Add travis and coveralls badges to README file
Albert Tugushev [Fri, 1 Jan 2016 07:52:28 +0000 (10:52 +0300)]
Add *.rst extension to README file
Albert Tugushev [Fri, 1 Jan 2016 07:45:44 +0000 (10:45 +0300)]
Use travis-ci
Resolve issue #16
Zygmunt Krynicki [Tue, 29 Dec 2015 10:05:55 +0000 (11:05 +0100)]
Merge pull request #28 from amrael/django18_2
Suppress RemovedInDjango19Warning
Yasuhisa Yamazaki [Wed, 20 May 2015 10:09:46 +0000 (19:09 +0900)]
Suppress warning, "RemovedInDjango19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.".
(cherry picked from commit
9eba29b)
Zygmunt Krynicki [Tue, 19 May 2015 10:24:52 +0000 (12:24 +0200)]
Merge pull request #27 from amrael/django18
Django 1.8 Support
Yasuhisa Yamazaki [Tue, 19 May 2015 09:43:51 +0000 (18:43 +0900)]
Import TOKEN_BLOCK from django.template.base if Django version is greater than or equal to 1.8.
Zygmunt Krynicki [Wed, 14 May 2014 12:29:22 +0000 (14:29 +0200)]
Merge pull request #25 from mktums/patch-1
I'm terribly sorry… (fix for #24)
Mike TUMS [Wed, 14 May 2014 11:18:09 +0000 (15:18 +0400)]
I'm terribly sorry…
fixes a bug caused by my previous PR (#24) and hardcoded generation of `getvars` variable.
bug description: when `disable_link_for_first_page` is true, for first page's link there was no replacing of "&" to "?" for first GET parameter, so there was 404.
i didn't rewrote `getvars` generation, thus i avoid increasing of complexity. i'll rewrote it later, if i'll be allowed to do so.
Zygmunt Krynicki [Wed, 9 Apr 2014 11:39:28 +0000 (13:39 +0200)]
Merge pull request #24 from mktums/patch-1
Fixes issues related with #17
Mike TUMS [Wed, 9 Apr 2014 11:23:09 +0000 (15:23 +0400)]
Fixes issues related with #17
Zygmunt Krynicki [Mon, 7 Apr 2014 09:33:06 +0000 (11:33 +0200)]
Merge pull request #23 from mktums/master
Implementing optional omitting of `?page=1`
Mike TUMS [Mon, 7 Apr 2014 09:21:27 +0000 (13:21 +0400)]
fixing template to show proper url
Mike TUMS [Mon, 7 Apr 2014 08:37:21 +0000 (12:37 +0400)]
Fix for template. *forgot to remove test line…*
Mike TUMS [Mon, 7 Apr 2014 08:35:33 +0000 (12:35 +0400)]
Implements zyga/django-pagination#22
Zygmunt Krynicki [Tue, 14 Jan 2014 14:04:33 +0000 (06:04 -0800)]
Merge pull request #21 from hsoft/py3
Support 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.
Zygmunt Krynicki [Thu, 11 Jul 2013 13:32:34 +0000 (06:32 -0700)]
Merge pull request #20 from mjtorn/fi_locale
Finnish locale
Markus Törnqvist [Thu, 11 Jul 2013 13:00:11 +0000 (16:00 +0300)]
Finnish locale
Zygmunt Krynicki [Wed, 26 Jun 2013 14:26:41 +0000 (07:26 -0700)]
Merge pull request #17 from mjtorn/master
Hopefully last pull request :)
Markus Törnqvist [Wed, 26 Jun 2013 13:02:56 +0000 (16:02 +0300)]
Skip updating empty dict over context
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.
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.
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
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
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
Zygmunt Krynicki [Tue, 25 Jun 2013 09:28:00 +0000 (02:28 -0700)]
Merge pull request #14 from mjtorn/master
Context passing on exceptions
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'