Answer the question
In order to leave comments, you need to log in
Why is the command not finding the attribute?
I'm trying to get additional fields.
a = Article.objects.get(id = article_id)
a.articleadd_set.all()
Answer the question
In order to leave comments, you need to log in
If the relation is one to one, then the reverse relation will be without _set
.
PS Very strange name for the ArticleAdd model.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question