Posts by Rafael Fidalgo • 11 points
2 posts
-
0
votes1
answer29
viewsQ: Display fields of a Foreignkey relation in the template
Save Devs... I need a help to display the fields of a table that is Foreignkey relationship in a Template. models class IEIS (models.Model): nome = models.CharField (max_length=25,null=False,…
-
0
votes1
answer36
viewsQ: Display a boolean field result if it is True
I’m having difficulty here to display the return of a Boolean field in the template. I need to display the field name if it is true in the template. models topo = models.BooleanField() views def…