Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add soft delete to the Cafe model #68

Open
1 task done
gnocchi2815 opened this issue Mar 24, 2017 · 0 comments
Open
1 task done

Add soft delete to the Cafe model #68

gnocchi2815 opened this issue Mar 24, 2017 · 0 comments
Assignees

Comments

@gnocchi2815
Copy link
Member

gnocchi2815 commented Mar 24, 2017

  • Add a boolean field named deleted to the Cafe model

Add this field to the Cafe model and create the migrations to record the change to the database.

This will mean that cafes are not deleted from the database when removed from the site, and therefore can be reinstated from Django admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant