Posts by ayron • 38 points
3 posts
-
0
votes1
answer30
views -
1
votes1
answer110
viewsA: How to pull a Foreignkey from the models on Django?
Hello, to your variable dieta is a queryset that returns all diets registered in your database. If you want to take just one diet, it would be a case of passing some parameter in your method,…
-
1
votes1
answer98
viewsA: Django n:n relationship with grid call
Hello, you should iterate on the attribute pessoas. Something like, {% for pessoa in processo.pessoas.all %}. Then within each iteration object you will be able to access the class attributes…