Skip to main content

Django model objects count interface and middleware

Project description

Installation

$ pip install django-objects-count

How it works

  • admin interface
  • middleware (optional, admin urls only) - dynamic models verbose_name_plural with objects count

settings.py

INSTALLED_APPS+=['django_objects_count']

MIDDLEWARE+=['django_objects_count.middleware.ObjectsCountMiddleware'] # optional

migrate

$ python manage.py migrate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-objects-count-2021.6.24.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page