Skip to main content

Sami Test Pip

Project description

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

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

admin-form-image-preivew-1.5.tar.gz (103.2 kB view details)

Uploaded Source

Built Distribution

admin_form_image_preivew-1.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file admin-form-image-preivew-1.5.tar.gz.

File metadata

  • Download URL: admin-form-image-preivew-1.5.tar.gz
  • Upload date:
  • Size: 103.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for admin-form-image-preivew-1.5.tar.gz
Algorithm Hash digest
SHA256 6d54c91e6c9d69926720aae15633214a28965f113e1bf9aede464e6a41ce9159
MD5 c0679e319767208bd05cee5dada6331b
BLAKE2b-256 d868be048db9fa536369b3f85da9a9488eb6c67e02f0f1e5dfb82192dae7dca9

See more details on using hashes here.

File details

Details for the file admin_form_image_preivew-1.5-py3-none-any.whl.

File metadata

  • Download URL: admin_form_image_preivew-1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for admin_form_image_preivew-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 28bacaec58cab105d2a62cfcfcba4e344a8cce7ef55e7129bb911698ab1855ea
MD5 e73c00213965666481a8541969e46d46
BLAKE2b-256 818ccc1572d504de8305584081e684532808c1c484ab7433812a010b960c5d5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page