https://github.com/bishwas-py/save-generated-image-django
This is a quick simple Django app that allows you to programatically save a generated image in Django.
https://github.com/bishwas-py/save-generated-image-django
django django-application image-processing save save-image
Last synced: about 1 month ago
JSON representation
This is a quick simple Django app that allows you to programatically save a generated image in Django.
- Host: GitHub
- URL: https://github.com/bishwas-py/save-generated-image-django
- Owner: Bishwas-py
- Created: 2022-12-30T03:25:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-03T02:21:47.000Z (over 3 years ago)
- Last Synced: 2025-06-03T18:52:22.625Z (12 months ago)
- Topics: django, django-application, image-processing, save, save-image
- Language: Python
- Homepage: https://blog.webmatrices.com/how-to-save-generated-image-django/
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Save generated image programatically in Django
This is a quick simple Django app that allows you to save a generated image (saving selenium screenshots) in Django. Here
is the [blog post](https://blog.webmatrices.com/how-to-save-generated-image-django/) that explains how
this works.
## Installation
### Clone the repository
```bash
git clone github.com/bishwas-py/save-generated-image-django.git
```
### Install the requirements
```bash
pip install -r requirements.txt
```
### Migrate the database
```bash
python manage.py migrate
```
### Run the server
```bash
python manage.py runserver
```
## Usage
- Go to `http://localhost:8000/admin` in your browser.
- Click on the `Websites` in the `records` tab.
- Click on `Add` button.
- Enter the `name` and `url` of the website.
- Click on `Save and continue editing` button.
- Go the image link you will see below of the form.
Happy Coding!