From fee2d1877f883ccd1aeb70e5a5776e573ef765b7 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 10 Sep 2011 17:20:31 +0000 Subject: [PATCH] Fixed #16280. Document that both args and kwargs cannot be passed to reverse at the same time. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16780 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/http/urls.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 4bb3b78d97c..9b6e2d07492 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -808,6 +808,8 @@ This ``current_app`` argument is used as a hint to resolve application namespaces into URLs on specific application instances, according to the :ref:`namespaced URL resolution strategy `. +``args`` and ``kwargs`` cannot be passed to ``reverse()`` at the same time. + .. admonition:: Make sure your views are all correct. As part of working out which URL names map to which patterns, the