EducatedCamels / djangazon

Django powered web application for Bangazon site
0 stars 0 forks source link

created the product detail view and when selling product it goes to t… #30

Closed jamestonkin closed 7 years ago

jamestonkin commented 7 years ago

…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

kayrahbear commented 7 years ago

bitmoji

Works on my machine! Great job!

briwyatt commented 7 years ago

bitmoji

jamestonkin commented 7 years ago

Fixed Docstring. image