Skip to content

Commit d94e693

Browse files
authored
Update README.md
Change HTTP status codes to ints
1 parent c7467e4 commit d94e693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ DRF_API_LOGGER_METHODS = ['GET', 'POST', 'DELETE', 'PUT'] # Default to empty li
193193
### Want to log only selected response status codes? (Optional)
194194
You can log only selected responses by specifying `DRF_API_LOGGER_STATUS_CODES` in settings.py.
195195
```python
196-
DRF_API_LOGGER_STATUS_CODES = ['200', '400', '404', '500'] # Default to empty list (Log all responses).
196+
DRF_API_LOGGER_STATUS_CODES = [200, 400, 404, 500] # Default to empty list (Log all responses).
197197
```
198198

199199
### Want to see the API information in local timezone? (Optional)

0 commit comments

Comments
 (0)