Skip to content

Commit 55611c6

Browse files
Merge pull request #75 from ambivalentno/patch-1
Minor documentation update
2 parents 0ccef88 + 59d88bb commit 55611c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/settings.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ To set DRF docs' settings just include the dictionary below in Django's `setting
1212

1313
### Settings Description
1414

15-
##### HIDDEN
15+
##### HIDE_DOCS
1616
You can use hidden to prevent your docs from showing up in different environments (ie. Show in development, hide in production). To do so you can use environment variables.
1717

1818
REST_FRAMEWORK_DOCS = {
19-
'HIDE_DOCS': os.environ.get('SHOW_DRFDOCS', False)
19+
'HIDE_DOCS': os.environ.get('HIDE_DRFDOCS', False)
2020
}
2121

22-
Then set the value of the environment variable `SHOW_DRFDOCS` for each environment (ie. Use `.env` files)
22+
Then set the value of the environment variable `HIDE_DRFDOCS` for each environment (ie. Use `.env` files)
2323

2424
### List of Settings
2525

0 commit comments

Comments
 (0)