Skip to content

Commit 29fd2ae

Browse files
committed
settings.md file updated with 'DESC_TABLE' field details
1 parent 3fd0d1e commit 29fd2ae

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/settings.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ You can use hidden to prevent your docs from showing up in different environment
1919
'HIDE_DOCS': os.environ.get('HIDE_DRFDOCS', False)
2020
}
2121

22+
##### DESC_TABLE
23+
You can use Table representation to make your fields list in the documentation clear. So We can change representation by adding single line inside the `REST_FRAMEWORK_DOCS` in `setting.py`.
24+
25+
'DESC_TABLE': os.environ.get('DESCRIBE_TABLE', False)
26+
27+
2228
Then set the value of the environment variable `HIDE_DRFDOCS` for each environment (ie. Use `.env` files)
2329

2430
### List of Settings
2531

26-
| Setting | Type | Options | Default |
27-
|---------|---------|-----------------|---------|
28-
|HIDE_DOCS| Boolean | `True`, `False` | `False` |
29-
| | | | |
32+
| Setting | Type | Options | Default |
33+
|----------|---------|-----------------|---------|
34+
|HIDE_DOCS | Boolean | `True`, `False` | `False` |
35+
|DESC_TABLE| Boolean | `True`, `False` | `False` |

0 commit comments

Comments
 (0)