summaryrefslogtreecommitdiff
path: root/django/http/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/http/request.py')
-rw-r--r--django/http/request.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/django/http/request.py b/django/http/request.py
index fe15a173be..4c27d576ba 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -170,9 +170,11 @@ class HttpRequest:
return "%s%s%s" % (
escape_uri_path(path),
"/" if force_append_slash and not path.endswith("/") else "",
- ("?" + iri_to_uri(self.META.get("QUERY_STRING", "")))
- if self.META.get("QUERY_STRING", "")
- else "",
+ (
+ ("?" + iri_to_uri(self.META.get("QUERY_STRING", "")))
+ if self.META.get("QUERY_STRING", "")
+ else ""
+ ),
)
def get_signed_cookie(self, key, default=RAISE_ERROR, salt="", max_age=None):