-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Fixed #36329 -- Removed non-code custom link text when cross-referencing Python objects. #19386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
6898bdd
to
235ba38
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Added initial comments ⭐
bf172ca
to
cd60a67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might also want to change docs/faq/intall.txt
:
:djadmin:`lightweight development server<runserver>`
Thank you for this! I think this is really close 👍
When removing different pairs of objects from :class:`ManyToManyFields | ||
<django.db.models.ManyToManyField>`, use | ||
:meth:`~django.db.models.query.QuerySet.delete` on a | ||
:class:`~django.db.models.Q` expression with multiple | ||
:attr:`~django.db.models.ManyToManyField.through` model instances to reduce | ||
the number of SQL queries. For example:: | ||
When removing multiple many-to-many relationships involving different objects | ||
on both sides, use the :meth:`~django.db.models.query.QuerySet.delete` method | ||
on a filtered queryset of the field’s | ||
:attr:`~django.db.models.ManyToManyField.through` model. By combining multiple | ||
conditions using :ref:`q-objects`, you can remove several relationships in a | ||
single query. For example:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been rephrased quite a bit, I need to re-read (marking this as a TODO for me)
…ing Python objects. Thanks Bruno Alla and Sarah Boyce for reviews. Co-authored-by: Sarah Boyce <[email protected]>
ticket-36329
Removes non-code custom link text used for cross-referencing Python objects in the documentation, so that they are not rendered as inline code.
e.g.
:meth:`a get() lookup <django.db.models.QuerySet.get>`
GitHub regex search: