created the product detail view and when selling product it goes to that view.
2. STATUS:
Ready
3. DESCRIPTION:
Added a view to show single product details. Also created functionality that will send someone to the product detail page of the product the user is selling when they click the 'sell it' button. Also changed the file structure to create a Views directory for all specific .py view files.
…hat view.
1. TITLE:
created the product detail view and when selling product it goes to that view.
2. STATUS:
Ready
3. DESCRIPTION:
Added a view to show single product details. Also created functionality that will send someone to the product detail page of the product the user is selling when they click the 'sell it' button. Also changed the file structure to create a Views directory for all specific .py view files.
4. RELATED TICKETS:
1 13
5. FILES CHANGED:
modified: website/templates/product/list.html new file: website/templates/product/product_detail.html modified: website/templates/product/success.html modified: website/urls.py new file: website/views/init.py new file: website/views/product_details_view.py renamed: website/views.py -> website/views/views.py
6. STEPS TO RUN PROJECT:
./damnit_django.sh
python manage.py runserver
Add products to test that view changes to that products detail view.8. TESTING THE CODE:
No new unit tests
For reference: Bangazon Employee Handbook: Pull Requests