Answer the question
In order to leave comments, you need to log in
How to attach django class labels for title to page?
Added a class to the models, imported and connected it to urls, added tables to the admin panel, and name (one of the variables) does not go to the page
PS you can provide your solution without focusing on my code, the task is simply to display the name of the Radio class on the page
Answer the question
In order to leave comments, you need to log in
Why are you doing like this? Anyway. You have defined a __str__ method, try just using {{ radios }}
, or try{{ post.name }}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question