-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ Create an Admin Site | |
|
||
You can create a {+framework+} admin site to edit your application's | ||
data from a web interface. To learn more about the {+framework+} admin | ||
site and its features, see `The Django admin site <{+django-docs+}/ref/contrib/admin/>`__ | ||
site and its features, see :py:mod:`The Django admin site <django.contrib.admin>` | ||
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. Does it work without the |
||
in the {+framework+} documentation. | ||
|
||
.. procedure:: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,9 +257,9 @@ 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. | ||
|
||
This section describes how to refine your query filters | ||
in the following ways: | ||
|
@@ -397,18 +397,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 +813,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. |
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` |
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'd expect this syntax (if MongoDB docs team didn't implement something different):
(You can browse https://github.com/mongodb/django-mongodb-backend/tree/main/docs/source to see some working examples.)
Beware that the djadmin, lookup, setting roles require some custom configuration.