Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dldevinc/paper-speedinfo
https://github.com/dldevinc/paper-speedinfo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dldevinc/paper-speedinfo
- Owner: dldevinc
- License: bsd-3-clause
- Created: 2019-09-02T06:59:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T20:00:47.000Z (almost 3 years ago)
- Last Synced: 2024-11-28T18:48:13.125Z (about 1 month ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# paper-speedinfo
Патч библиотеки [django-speedinfo](https://github.com/catcombo/django-speedinfo) для [paper-admin](https://github.com/dldevinc/paper-admin)
## Requirements
* Python >= 3.6
* Django >= 2.1## Installation
Add `paper_speedinfo` before `speedinfo` to your INSTALLED_APPS setting.
```python
INSTALLED_APPS = [
# ...
'paper_speedinfo',
'speedinfo',
# ...
]MIDDLEWARE = [
# ...
'speedinfo.middleware.ProfilerMiddleware',
# ...
]CACHES = {
'default': {
'BACKEND': 'speedinfo.backends.proxy_cache',
'CACHE_BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
}
}SPEEDINFO_STORAGE = "speedinfo.storage.cache.storage.CacheStorage"
SPEEDINFO_EXCLUDE_URLS = [
r'/admin/',
]
```