Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added missing request parameter to get_current_site().

  • Loading branch information...
commit d6c9bdd8258fec4d0b4270903e95a42847796608 1 parent 3cba90f
@flisky flisky authored timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/sites.txt
2  docs/ref/contrib/sites.txt
@@ -482,7 +482,7 @@ the ``domain`` and ``name`` by looking at the request's domain. It has
Finally, to avoid repetitive fallback code, the framework provides a
:func:`django.contrib.sites.shortcuts.get_current_site` function.
-.. function:: shortcuts.get_current_site
+.. function:: shortcuts.get_current_site(request)
A function that checks if ``django.contrib.sites`` is installed and
returns either the current :class:`~django.contrib.sites.models.Site`

0 comments on commit d6c9bdd

Please sign in to comment.
Something went wrong with that request. Please try again.