tomik-z-cech / PP5-Ohm-Azing-Components

View massive selection of electronic components at our online store. Find high-quality resistors, capacitors, tools, kits and more. Shop now for all your electronic needs !

Home Page:https://ohmazing-components-1a5a0fcb9e95.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USER STORY : Accessing Order History

tomik-z-cech opened this issue · comments

As a Site User, I can access my own past orders in case of needing them in future.

Acceptance Criteria :

Loged In User :
When I navigate to "Order History" section then I clearly see all my past orders then .

Not Loged in User :

Doesn't have that option.

Tasks :

  • Create app history
  • Register in settings.py
  • Create and update local urls.py
  • Update global urls.py
  • Create a logic in views.py that orders of loged in user will display
  • Protect the view for only loged in users
  • Test functionality as loged in user
  • Test functionality as not loged in user

Epic :
EPIC 11

This was done in commit 3b301fc.