Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5e238b8

Browse files
authored
Typo/missed replace.
I shuld do local dev instead of edit via GitHub's page...
1 parent e69fd13 commit 5e238b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎rest_framework_docs/api_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, pattern, parent_regex=None, drf_router=None):
1313
self.callback = pattern.callback
1414
# self.name = pattern.name
1515
self.docstring = self.__get_docstring__()
16-
self.name_parent = simplify_regex(parent_regex).strip('/') if parent_pattern else None
16+
self.name_parent = simplify_regex(parent_regex).strip('/') if parent_regex else None
1717
self.path = self.__get_path__(parent_regex)
1818
self.allowed_methods = self.__get_allowed_methods__()
1919
# self.view_name = pattern.callback.__name__

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /