Display how often models and model fields are used in the database.
- 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.
- 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