- Clone this project (https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)
- Install requirements:
pip install -r requirements.txt
- Run migrations:
python manage.py migrate
- Start project:
python manage.py runserver
- Add a
price
field toProduct
(https://www.dev2qa.com/how-to-add-new-model-field-to-exist-django-model/) - Add
price
field to Add product form - Show price on the product details page (http://127.0.0.1:8000/product/view/1)
- Add a new page for adding a new Category
- Add a new page for showing the list of categories (Categories page)
- Show category name of product on the product details page
- When user will click on category from Categories page show a new page with name of selected category (Category page)
- On the new category page show list of products from this category