-
Notifications
You must be signed in to change notification settings - Fork 7
DOCSP-48767: Intersphinx links #28
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
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,9 +257,12 @@ expression matching, and year value matching for datetime fields. | |
|
||
.. tip:: | ||
|
||
To view a full list of lookup types, see `Field lookups | ||
<{+django-docs+}/ref/models/querysets/#field-lookups>`__ in the | ||
``QuerySet`` {+framework+} API reference. | ||
To view a full list of lookup types, see | ||
:std:ext-doc:`Field lookups <ref/models/querysets/#field-lookups>` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You cannot use an anchor like |
||
in the ``QuerySet`` {+framework+} API reference. | ||
|
||
:ref:`Field Lookups <django:field-lookups>` | ||
:py:mod:`QuerySet <django.db.models.querysets>` | ||
|
||
This section describes how to refine your query filters | ||
in the following ways: | ||
|
@@ -397,18 +400,17 @@ You can run queries that use multiple sets of matching criteria | |
in the following ways: | ||
|
||
- Pass multiple query filters to your query method, separated | ||
by commas. To view an example, see `Retrieving objects | ||
<{+django-docs+}/topics/db/queries/#retrieving-objects>`__ in the | ||
{+framework+} documentation. | ||
by commas. To view an example, see | ||
:std:ext-doc:`Django's LOGGING setting <topics/db/queries/#retrieving-objects>` | ||
in the {+framework+} documentation. | ||
|
||
- Chain query methods together. To learn more, see `Chaining filters | ||
<{+django-docs+}/topics/db/queries/#chaining-filters>`__ in the {+framework+} | ||
documentation. | ||
- Chain query methods together. To learn more, see | ||
:std:ext-doc:`Chaining filters <topics/db/queries/#chaining-filters>` | ||
in the {+framework+} documentation. | ||
|
||
- Use ``Q`` objects and separate each object with a logical operator. | ||
To learn more, see `Complex lookups with Q objects | ||
<{+django-docs+}/topics/db/queries/#complex-lookups-with-q-objects>`__ in the {+framework+} | ||
documentation. | ||
To learn more, see :std:ext-doc:`Complex lookups with Q objects <topics/db/queries/#complex-lookups-with-q-objects>` | ||
in the {+framework+} documentation. | ||
|
||
Q Object Example | ||
```````````````` | ||
|
@@ -814,5 +816,6 @@ pipeline syntax, see the :ref:`django-raw-queries` guide. | |
To learn how to perform other ``QuerySet`` operations, see the | ||
:ref:`django-crud` guide. | ||
|
||
To learn more about {+framework+} queries, see `Making queries <{+django-docs+}/topics/db/queries>`__ | ||
To learn more about {+framework+} queries, see | ||
:std:ext-doc:`Making queries <topics/db/queries>` | ||
in the {+framework+} documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
====================== | ||
Test Intersphinx Links | ||
====================== | ||
|
||
1. :std:ext-doc:`Persistent connections <databases/#persistent-database-connections>` | ||
#. :py:mod:`django.databases.persistent-database-connections` | ||
#. :py:mod:`django.settings.CONN_MAX_AGE` | ||
|
||
1. :std:ext-doc:`the TEST setting <ref/settings/#test>` | ||
#. :py:mod:`django.settings.test` | ||
|
||
1. :py:mod:`django.contrib.admin` | ||
|
||
1. :std:ext-doc:`Field lookups <ref/models/querysets/#field-lookups>` | ||
#. :py:attr:`django.db.models.field-lookups` | ||
#. :py:attr:`~django.db.models.field-lookups` | ||
#. :py:mod:`django.db.models.field-lookups` | ||
#. :py:mod:`~django.db.models.field-lookups` | ||
|
||
1. :py:attr:`django.db.models.Field` | ||
#. :py:attr:`~django.db.models.Field` | ||
#. :py:attr:`django.db.models` | ||
#. :py:mod:`django.db.models` | ||
#. :py:mod:`django.db.models.Field` | ||
#. :py:mod:`~django.db.models.Field` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does it work without the
:py
prefix? I've never needed that, and I don't think we're likely to run into collisions with other domains, but I'm not quite sure.