Skip to content

Commit

Permalink
[1.7.x] Added missing request parameter to get_current_site().
Browse files Browse the repository at this point in the history
Backport of d6c9bdd from master
  • Loading branch information
flisky authored and timgraham committed Apr 7, 2014
1 parent 32c8579 commit c148d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/contrib/sites.txt
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,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`
Expand Down

0 comments on commit c148d8e

Please sign in to comment.