Countless admin mixin for Django
Project description
Django-admin-countless
Django-Admin-Countless provides a mixin for Django admin to eliminate count queries.
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
Built Distribution
File details
Details for the file django-admin-countless-0.4.0.tar.gz
.
File metadata
- Download URL: django-admin-countless-0.4.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8595aca4eb7549a7e3bd72b1e4241c90c5bccb3914da11e33cf74c13233a6fcb |
|
MD5 | c68f9cc8b02557cea2fee3dc7184742a |
|
BLAKE2b-256 | e4fe7f3879d6d66556d4e17db53d7a6a63cc3f15601022106d61b9aabcba86f8 |
File details
Details for the file django_admin_countless-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: django_admin_countless-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876f77c29c037948d3dd2a11cc4e37f0fa13f7921b6174d3623cf255a7c0c142 |
|
MD5 | c5bae7af89e2f12e8b89c6b5cc3b36c3 |
|
BLAKE2b-256 | 8f31f0101a0c587c7141c95c2c912a3db77dfcbff853b417a623db5548b1f69b |