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 details)

Uploaded Source

File details

Details for the file django-objects-count-2021.6.24.tar.gz.

File metadata

  • Download URL: django-objects-count-2021.6.24.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5

File hashes

Hashes for django-objects-count-2021.6.24.tar.gz
Algorithm Hash digest
SHA256 0a4eaff042a5f61b272cff855b79aa0c817bda093a3c261676cb3ae64b51db2f
MD5 4b97d5f2763b8bfcefae628969fff349
BLAKE2b-256 190d8561ac5633ae94e612dea6e00264343e90708359319c06344ff58212ad7d

See more details on using hashes here.

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