Closed briwyatt closed 7 years ago
add a product photo to the product form
OK
Rationale(reason behind updated changes) add a photo to your product Expected behavior of changes a photo is added without any errors
djangazon/urls website/urls settings.py detail_product.html create.html views.py models.py forms.py
Install two dependencies
Install Sorl Thumbnail: pip install git+https://github.com/mariocesar/sorl-thumbnail.git#egg=sorl-thumbnail Install Pillow: pip install pillow
pip install git+https://github.com/mariocesar/sorl-thumbnail.git#egg=sorl-thumbnail
pip install pillow
try to sell a new product with a photo
How to run in command line ./damnit_django.sh python manage.py runserver
1. TITLE:
add a product photo to the product form
2. STATUS:
OK
3. DESCRIPTION:
Rationale(reason behind updated changes) add a photo to your product Expected behavior of changes a photo is added without any errors
5. FILES CHANGED:
djangazon/urls website/urls settings.py detail_product.html create.html views.py models.py forms.py
6. STEPS TO RUN PROJECT:
Installation Steps
Install two dependencies
Install Sorl Thumbnail:
pip install git+https://github.com/mariocesar/sorl-thumbnail.git#egg=sorl-thumbnail
Install Pillow:pip install pillow
try to sell a new product with a photo
How to run in command line ./damnit_django.sh python manage.py runserver
For reference: Bangazon Employee Handbook: Pull Requests