Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xi/django-model-stats
Display how often models and model fields are used in the database
https://github.com/xi/django-model-stats
Last synced: about 2 months ago
JSON representation
Display how often models and model fields are used in the database
- Host: GitHub
- URL: https://github.com/xi/django-model-stats
- Owner: xi
- License: mit
- Created: 2021-11-03T10:10:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T10:46:51.000Z (about 1 year ago)
- Last Synced: 2024-11-22T08:48:18.887Z (about 2 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# django-model-stats
Display how often models and model fields are used in the database.
## Installation
1. Add `'model_stats'` to your `INSTALLED_APPS`
2. Add `path('admin/stats/', include('model_stats.urls'))` to your
`urlpatterns`. Make sure it’s included *before* the `'admin/'` entry, so
that requests to `/admin/stats/` don’t get handled by the latter entry.## Features
- Allows you to find models or fields that are rearly used
- No additional user tracking, only uses the data that is already available
- No external dependencies