Opened 5 years ago

Last modified 5 years ago

#30930 closed Cleanup/optimization

Many to Many Doc — at Initial Version

Reported by: waltersdmh Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

At line:

Publication objects have access to their related Article objects

Why does the docs refer to p2.articles as p2.article_set

"_set" does not work in Django.

p2.article_set.all()

should be

p2.article.all()

Thanks

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top