EducatedCamels / djangazon

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

Jt single category view #37

Closed jamestonkin closed 7 years ago

jamestonkin commented 7 years ago

1. TITLE:

Created view to show individual categories with all products in that category.

2. STATUS:

Ready

3. DESCRIPTION:

Shows a view for each category individually and shows all products for the category. Added links to the categories on the All Categories view.

4. RELATED TICKETS:

12

5. FILES CHANGED:

modified: website/models.py modified: website/templates/product/category_list.html modified: website/templates/single_category.html modified: website/urls.py modified: website/views/single_category.py modified: website/tests.py

6. STEPS TO RUN PROJECT:

./damnit_django.sh python manage.py runserver

8. TESTING THE CODE:

Name of test

test_category_view_returns_correct_products

Fail/ Pass Pass (x3)

How to run in command line

python manage.py test

For reference: Bangazon Employee Handbook: Pull Requests

kayrahbear commented 7 years ago

bitmoji

Passing tests are the best!

Deanomatic commented 7 years ago

🎈 🍰