Skip to main content

Countless admin mixin for Django

Project description

Django-admin-countless

Django-Admin-Countless provides a mixin for Django admin to eliminate count queries.

Build Status codecov PyPI version

Installation

pip install django-admin-countless

Usage

Full example located at testproject.testapp.admin

from django.contrib import admin

from countless_admin import CountlessAdminMixin
from test_project.test_app.models import MyModel


@admin.register(MyModel)
class MyModelAdmin(CountlessAdminMixin, admin.ModelAdmin):
    pass

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-admin-countless-0.4.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

django_admin_countless-0.4.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file django-admin-countless-0.4.0.tar.gz.

File metadata

File hashes

Hashes for django-admin-countless-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8595aca4eb7549a7e3bd72b1e4241c90c5bccb3914da11e33cf74c13233a6fcb
MD5 c68f9cc8b02557cea2fee3dc7184742a
BLAKE2b-256 e4fe7f3879d6d66556d4e17db53d7a6a63cc3f15601022106d61b9aabcba86f8

See more details on using hashes here.

File details

Details for the file django_admin_countless-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_countless-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 876f77c29c037948d3dd2a11cc4e37f0fa13f7921b6174d3623cf255a7c0c142
MD5 c5bae7af89e2f12e8b89c6b5cc3b36c3
BLAKE2b-256 8f31f0101a0c587c7141c95c2c912a3db77dfcbff853b417a623db5548b1f69b

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