mirror of
https://github.com/django/django.git
synced 2024-12-26 02:56:25 +00:00
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
This commit is contained in:
parent
36120f41a9
commit
fee2d1877f
@ -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
|
namespaces into URLs on specific application instances, according to the
|
||||||
:ref:`namespaced URL resolution strategy <topics-http-reversing-url-namespaces>`.
|
:ref:`namespaced URL resolution strategy <topics-http-reversing-url-namespaces>`.
|
||||||
|
|
||||||
|
``args`` and ``kwargs`` cannot be passed to ``reverse()`` at the same time.
|
||||||
|
|
||||||
.. admonition:: Make sure your views are all correct.
|
.. admonition:: Make sure your views are all correct.
|
||||||
|
|
||||||
As part of working out which URL names map to which patterns, the
|
As part of working out which URL names map to which patterns, the
|
||||||
|
Loading…
Reference in New Issue
Block a user