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 that explains how this works.
git clone github.com/bishwas-py/save-generated-image-django.git
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
- Go to
http://localhost:8000/admin
in your browser. - Click on the
Websites
in therecords
tab. - Click on
Add
button. - Enter the
name
andurl
of the website. - Click on
Save and continue editing
button. - Go the image link you will see below of the form.
Happy Coding!