Posts by Ismael Stangherlini • 16 points
2 posts
-
0
votes1
answer34
viewsA: Interrupt the POST Django
Why don’t you care about your customer’s model and product in this view? By the way, I’m guessing there’s a model of them, you didn’t actually specify... from clientes import Cliente from produto…
-
0
votes1
answer46
viewsA: Python-Django - How to show template only items associated with logged in user
For a user to be able to see only their items, these items must be marked with the user who actually owns them. So, your model of ToDo must also contain a foreign key field from the Django user…