Skip to main content

Insallation

  1. pip install admin-form-image-preivew
  2. Add admin_image_preview in installed apps in settings.py of 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

  1. git clone https://github.com/humblesami/admin_form_image_preivew.git
  2. cd admin_form_image_preivew/sample_usage
  3. pip 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

  1. python manage.py runsever

  2. 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

  3. Go to http://127.0.0.1:8000/admin/admin_image_preview/model1/add/

  4. 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)

Source distribution for admin-form-image-preivew 1.5
File Size Uploaded
admin-form-image-preivew-1.5.tar.gz 103.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for admin-form-image-preivew 1.5
File Interpreter ABI Platform
admin_form_image_preivew-1.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.5 This release

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page