So can someone help me how can i delete the item in tech with tim django todo app project? I really need this one to understand how delete works and models in django. This is the source code for tech with tim django todo app
Asked
Active
Viewed 128 times
2 Answers
0
You can try the steps outlined here: How to delete a record in Django models?
Namely,
ModelName.objects.filter(id=id).delete()

Ezra
- 471
- 3
- 14