| Name | Size |
|---|---|
| .gitignore | 37B |
| CHANGES.md | 207B |
| LICENSE | 1072B |
| README.md | 564B |
| model_stats/__init__.py | 0B |
| model_stats/templates/model_stats/stats.html | 1251B |
| model_stats/urls.py | 125B |
| model_stats/views.py | 1524B |
| pyproject.toml | 897B |
django-model-stats
Display how often models and model fields are used in the database.
Installation
- Add
'model_stats'to yourINSTALLED_APPS - Add
path('admin/stats/', include('model_stats.urls'))to yoururlpatterns. 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