Skip to content

Commit ff4d852

Browse files
committed
fixup! fixup! Support basic re_path
1 parent ee09bfb commit ff4d852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_core/contrib/django/requests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def create(cls, request):
3636
else:
3737
route = cls.path_regex.sub(
3838
r'{\1}', request.resolver_match.route)
39-
# Delete start marker and expression marker to allow concatenation.
39+
# Delete start and end marker to allow concatenation.
4040
if route[:1] == "^":
4141
route = route[1:]
4242
if route[-1:] == "$":

0 commit comments

Comments
 (0)