Skip to content

Commit fea55ee

Browse files
author
Emmanouil Konstantinidis
committed
Style methods
1 parent 084b2f6 commit fea55ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

drfdocs/api_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def __init__(self, pattern, parent_pattern=None):
99
self.name = pattern.name
1010
self.path = self.__get_path__(parent_pattern)
1111
self.allowed_methods = self.__get_allowed_methods__()
12-
# self.view_name = pattern.callback.__name__
12+
self.view_name = pattern.callback.__name__
1313

1414
def __get_path__(self, parent_pattern):
1515
if parent_pattern:

drfdocs/static/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ body {
2525
word-wrap: break-word;
2626
}
2727

28+
.endpoint .methods .method {
29+
border: 1px solid #2c3e50;
30+
padding: 3px 8px;
31+
}
32+
2833
/* @end Endpoint */
2934

3035

0 commit comments

Comments
 (0)