**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`
4. `python manage.py runsever`
5. 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
6. Go to
http://127.0.0.1:8000/admin/admin_image_preview/model1/add/
7. 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`
Raw data
{
"_id": null,
"home_page": "https://github.com/humblesami/admin_form_image_preivew.git",
"name": "admin-form-image-preivew",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "Sami Akram <samiakram@live.com>",
"keywords": "urllib,httplib,http",
"author": "Sami Akram",
"author_email": "Sami Akram <samiakram@live.com>",
"download_url": "https://files.pythonhosted.org/packages/d8/68/be048db9fa536369b3f85da9a9488eb6c67e02f0f1e5dfb82192dae7dca9/admin-form-image-preivew-1.5.tar.gz",
"platform": null,
"description": "**Insallation**\n1. `pip install admin-form-image-preivew`\n2. Add `admin_image_preview` in installed apps in `settings.py` of django project\n INSTALLED_APPS = [\n 'admin_image_preview',\n # ...\n ] (at top)\n\n\n**Description**\nIt show the preview of every image field in every admin change_form (add/edit) for all models and apps\n\n**Instructions to run the sample usage**\n1. `git clone https://github.com/humblesami/admin_form_image_preivew.git`\n2. `cd admin_form_image_preivew/sample_usage`\n3. `pip install -r requirements.txt`\n\n*Not required* but if you want to reset the database, you can do this\n3.1. `python manage.py initsql.py`\n\n\n4. `python manage.py runsever`\n\n5. Open following url in your browser and login with given username and password\nhttp://127.0.0.1:8000/admin/login/?next=/admin/login\nusername\nsa\npassword\n123\n\n6. Go to\nhttp://127.0.0.1:8000/admin/admin_image_preview/model1/add/\n\n7. Add image to check preview\n\n**Make you own pip package**\nSee https://github.com/humblesami/admin_form_image_preivew/blob/master/docs/make_pip.md to make/build/test and upload `your own pip package`\n",
"bugtrack_url": null,
"license": "",
"summary": "Sami Test Pip",
"version": "1.5",
"split_keywords": [
"urllib",
"httplib",
"http"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "818ccc1572d504de8305584081e684532808c1c484ab7433812a010b960c5d5d",
"md5": "e73c00213965666481a8541969e46d46",
"sha256": "28bacaec58cab105d2a62cfcfcba4e344a8cce7ef55e7129bb911698ab1855ea"
},
"downloads": -1,
"filename": "admin_form_image_preivew-1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e73c00213965666481a8541969e46d46",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 7276,
"upload_time": "2023-04-15T08:01:44",
"upload_time_iso_8601": "2023-04-15T08:01:44.095325Z",
"url": "https://files.pythonhosted.org/packages/81/8c/cc1572d504de8305584081e684532808c1c484ab7433812a010b960c5d5d/admin_form_image_preivew-1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d868be048db9fa536369b3f85da9a9488eb6c67e02f0f1e5dfb82192dae7dca9",
"md5": "c0679e319767208bd05cee5dada6331b",
"sha256": "6d54c91e6c9d69926720aae15633214a28965f113e1bf9aede464e6a41ce9159"
},
"downloads": -1,
"filename": "admin-form-image-preivew-1.5.tar.gz",
"has_sig": false,
"md5_digest": "c0679e319767208bd05cee5dada6331b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 103165,
"upload_time": "2023-04-15T08:01:46",
"upload_time_iso_8601": "2023-04-15T08:01:46.994847Z",
"url": "https://files.pythonhosted.org/packages/d8/68/be048db9fa536369b3f85da9a9488eb6c67e02f0f1e5dfb82192dae7dca9/admin-form-image-preivew-1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-15 08:01:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "humblesami",
"github_project": "admin_form_image_preivew.git",
"lcname": "admin-form-image-preivew"
}