From 18535c7a387731b0e290ff59bb604bfd1a275ccc Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Thu, 5 Jan 2012 14:07:31 +0000 Subject: Preserve existing query params in PaginatorMixin Previously, generation of next/previous links would discard any existing query parameters. This commit introduces a dependency on URLObject, which is used to intelligently parse and modify URLs to ensure existing params are preserved. Addresses issues #107 --- setup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 1d738328..690a7e0f 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ setup( package_dir={'djangorestframework': 'djangorestframework'}, package_data = {'djangorestframework': ['templates/*', 'static/*']}, test_suite = 'djangorestframework.runtests.runcoverage.main', + install_requires=['URLObject>=0.6.0'], classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', -- cgit v1.2.3