EducatedCamels / djangazon

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

Added to search_product function #48

Closed Deanomatic closed 7 years ago

Deanomatic commented 7 years ago

1. TITLE:

Created ability to search products by city

2. STATUS:

Ready. But trying to add ability to search category as an extra feature.

3. DESCRIPTION:

Rationale(reason behind updated changes) A feature ticket required products to be searched by city so this code allows that to happen. Had to change fixtures as well. Expected behavior of changes Should now be able to type a city in the search bar and get any product that is in that city.

4. RELATED TICKETS:

5

5. FILES CHANGED:

fixtures/product.json product_search_view.py models.py

6. STEPS TO RUN PROJECT:

Run steps

./damnit_django.sh python manage.py runserver Register and type a city that you know is in the fixtures in the search bar (like Nashville, New York, Pincher Creek or Boston) and see if the products come up.

For reference: Bangazon Employee Handbook: Pull Requests

jamestonkin commented 7 years ago

image