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 e69fd13

Browse files
authored
Fix flake8 complaint.
...
1 parent a2d8710 commit e69fd13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎rest_framework_docs/api_docs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_all_view_names(self, urlpatterns, parent_regex=None):
2525
for pattern in urlpatterns:
2626
if isinstance(pattern, RegexURLResolver):
2727
regex = '' if pattern._regex == "^" else pattern._regex
28-
self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_regex=parent_regex+regex)
28+
self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_regex=parent_regex+regex)
2929
elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern) and not self._is_format_endpoint(pattern):
3030
api_endpoint = ApiEndpoint(pattern, parent_regex, self.drf_router)
3131
self.endpoints.append(api_endpoint)

0 commit comments

Comments
(0)

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