Insallation
pip install admin-form-image-preivew- Add
admin_image_previewin installed apps insettings.pyof django project INSTALLED_APPS = [ 'admin_image_preview', # ... ] (at top)
Description It show the preview of every image field in every admin change_form (add/edit) for all models and apps
Instructions to run the sample usage
git clone https://github.com/humblesami/admin_form_image_preivew.gitcd admin_form_image_preivew/sample_usagepip install -r requirements.txt
Not required but if you want to reset the database, you can do this
3.1. python manage.py initsql.py
-
python manage.py runsever -
Open following url in your browser and login with given username and password http://127.0.0.1:8000/admin/login/?next=/admin/login username sa password 123
-
Go to http://127.0.0.1:8000/admin/admin_image_preview/model1/add/
-
Add image to check preview
Make you own pip package
See https://github.com/humblesami/admin_form_image_preivew/blob/master/docs/make_pip.md to make/build/test and upload your own pip package
Metadata
Release files for admin-form-image-preivew 1.5
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 |
|---|---|---|---|---|
| admin-form-image-preivew-1.5.tar.gz | 103.2 kB | Without provenance | Details for admin-form-image-preivew-1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| admin_form_image_preivew-1.5-py3-none-any.whl | Python 3 | none | any | Details for admin_form_image_preivew-1.5-py3-none-any.whl |
Total release size: 110.4 kB
Release files / admin-form-image-preivew-1.5.tar.gz
| Download URL | admin-form-image-preivew-1.5.tar.gz |
|---|---|
| Size | 103.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d54c91e6c9d69926720aae15633214a28965f113e1bf9aede464e6a41ce9159
|
|
BLAKE2b-256 checksum How to use checksums |
d868be048db9fa536369b3f85da9a9488eb6c67e02f0f1e5dfb82192dae7dca9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Release files / admin_form_image_preivew-1.5-py3-none-any.whl
| Download URL | admin_form_image_preivew-1.5-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28bacaec58cab105d2a62cfcfcba4e344a8cce7ef55e7129bb911698ab1855ea
|
|
BLAKE2b-256 checksum How to use checksums |
818ccc1572d504de8305584081e684532808c1c484ab7433812a010b960c5d5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for admin-form-image-preivew 1.5
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.