Sami Test Pip
Project description
Insallation
pip install admin-form-image-preivew
- Add
admin_image_preview
in installed apps insettings.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
git clone https://github.com/humblesami/admin_form_image_preivew.git
cd admin_form_image_preivew/sample_usage
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
-
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
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
Hashes for admin-form-image-preivew-1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d54c91e6c9d69926720aae15633214a28965f113e1bf9aede464e6a41ce9159 |
|
MD5 | c0679e319767208bd05cee5dada6331b |
|
BLAKE2b-256 | d868be048db9fa536369b3f85da9a9488eb6c67e02f0f1e5dfb82192dae7dca9 |
Hashes for admin_form_image_preivew-1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28bacaec58cab105d2a62cfcfcba4e344a8cce7ef55e7129bb911698ab1855ea |
|
MD5 | e73c00213965666481a8541969e46d46 |
|
BLAKE2b-256 | 818ccc1572d504de8305584081e684532808c1c484ab7433812a010b960c5d5d |