Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Nov 25, 2023
1 parent 146180b commit a4e96d5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ When enabled, a graph visualisation generated using [gprof2dot](https://github.c
A custom storage class can be used for the saved generated binary `.prof` files:

```python
# For Django >= 4.2 and Django-Silk >= 5.1.0:
STORAGES = {
'SILKY_STORAGE': {
'BACKEND': 'path.to.StorageClass',
},
# ...
}

# For Django < 4.2 or Django-Silk < 5.1.0
SILKY_STORAGE_CLASS = 'path.to.StorageClass'
```

Expand Down

0 comments on commit a4e96d5

Please sign in to comment.