aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJamie Matthews2012-01-05 14:07:31 +0000
committerJamie Matthews2012-01-05 14:07:31 +0000
commit18535c7a387731b0e290ff59bb604bfd1a275ccc (patch)
tree0c0aeefd5c12b065f13ec3a58f8a79092de8c422 /setup.py
parentb745d0c2f46b901ed7a6b8e92d4ea3faf2a47736 (diff)
downloaddjango-rest-framework-18535c7a387731b0e290ff59bb604bfd1a275ccc.tar.bz2
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
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
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',