mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed #20019 -- Ensured HttpRequest.resolver_match always exists.
Obviously it isn't set until the URL is resolved.
This commit is contained in:
@@ -44,6 +44,7 @@ class HttpRequest(object):
|
||||
self.path = ''
|
||||
self.path_info = ''
|
||||
self.method = None
|
||||
self.resolver_match = None
|
||||
self._post_parse_error = False
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user