django-admin-lazy-load
Allows to speed-up loading of django admin page by deffering (lazy loading) heavy calculated field - via separate ajax requests.
Super-easy yet flexible set-up. Supports any kind of admin fields including:
- properties defined on model level
- properties defined in admin class
Please look into example admin.py for different cases.
Install
pip install django-admin-lazy-load- Add
"admin_lazy_load"toINSTALLED_APPS - Make sure
django.contrib.staticfiles.finders.AppDirectoriesFinderis not disabled in your settings.
Usage
from admin_lazy_load import LazyLoadAdminMixin
....
class YourModelAdmin(LazyLoadAdminMixin, ModelAdmin):
...
lazy_loaded_fields = (
'calculated_value'
)
list_display = (
...
'calculated_value_lazy_click'
...
)
def calculated_value(self, obj):
return ...
Metadata
Release files for django-admin-lazy-load-alexforks 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_admin_lazy_load_alexforks-0.2.2.tar.gz | 21.1 kB | Without provenance | Details for django_admin_lazy_load_alexforks-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_admin_lazy_load_alexforks-0.2.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for django_admin_lazy_load_alexforks-0.2.2-py2.py3-none-any.whl |
Total release size: 42.7 kB
Release files / django_admin_lazy_load_alexforks-0.2.2.tar.gz
| Download URL | django_admin_lazy_load_alexforks-0.2.2.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6351faeb6818ae41fc6997f4ab1d51569ee744898d8ca3030261a70e7b3e1d2b
|
|
BLAKE2b-256 checksum How to use checksums |
58e5ab3b4c2fd383f681981bab927630d009f4188b6ce2f1af4c23b3e0296729
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.0
|
Release files / django_admin_lazy_load_alexforks-0.2.2-py2.py3-none-any.whl
| Download URL | django_admin_lazy_load_alexforks-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0166a645b138c07a842963b63c9dd8e120f7d7d2963e54d33facad97ed45fa0e
|
|
BLAKE2b-256 checksum How to use checksums |
fd97fa3394f8acd8df2e2b7b30f82769d232feab9381dbb2ec02a2be16d7705c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.0
|
Security for django-admin-lazy-load-alexforks 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.