Skip to content

Commit aa1cf3d

Browse files
committed
add additional settings 'DESC_TABLE' for the reference to render the field as ul or table
1 parent bc6ecea commit aa1cf3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rest_framework_docs/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ class DRFSettings(object):
55

66
def __init__(self):
77
self.drf_settings = {
8-
"HIDE_DOCS": self.get_setting("HIDE_DOCS") or False
8+
"HIDE_DOCS": self.get_setting("HIDE_DOCS") or False,
9+
"DESC_TABLE": self.get_setting("DESC_TABLE") or False
910
}
1011

1112
def get_setting(self, name):

0 commit comments

Comments
 (0)