mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[2.1.x] Fixed django/http/request.py docstring typo.
Backport of 93e721a0b8155470336357c148c4d8364c36bbee from master
This commit is contained in:
parent
50dc9fad74
commit
a7ca8afbbe
@ -165,7 +165,7 @@ class HttpRequest:
|
|||||||
def build_absolute_uri(self, location=None):
|
def build_absolute_uri(self, location=None):
|
||||||
"""
|
"""
|
||||||
Build an absolute URI from the location and the variables available in
|
Build an absolute URI from the location and the variables available in
|
||||||
this request. If no ``location`` is specified, bulid the absolute URI
|
this request. If no ``location`` is specified, build the absolute URI
|
||||||
using request.get_full_path(). If the location is absolute, convert it
|
using request.get_full_path(). If the location is absolute, convert it
|
||||||
to an RFC 3987 compliant URI and return it. If location is relative or
|
to an RFC 3987 compliant URI and return it. If location is relative or
|
||||||
is scheme-relative (i.e., ``//example.com/``), urljoin() it to a base
|
is scheme-relative (i.e., ``//example.com/``), urljoin() it to a base
|
||||||
|
Loading…
x
Reference in New Issue
Block a user