blathering-barnacles / Bangazon-2

Sprint 2
1 stars 1 forks source link

User can delete a payment type #9

Open kimberly-bird opened 5 years ago

kimberly-bird commented 5 years ago

Given the user is authenticated When the user performs a gesture on the My Settings hyperlink in the navigation bar And the user clicks on Payment Options And the user clicks on the Delete hyperlink next to a payment type Then the payment option will get deleted

Python students only, here's a tip: https://github.com/makinacorpus/django-safedelete/blob/master/safedelete/models.py

rjlancaster commented 5 years ago

My settings vs. My profile? Get clarification. ALFONSO GETS TO DO SAFE DELETE! This is a scenario where cascading delete can come into view. Get clarification on what gets deleted when. Settings and Profile same!

jessicabarnett8219 commented 5 years ago

Do safe delete manually - add a column for deleted that starts as null

jessicabarnett8219 commented 5 years ago

If a card hasn't been used you can truly delete it. If it has been used actual delete.