Used extlinks for Django's source code.

This commit is contained in:
Tim Graham 2019-03-28 20:32:17 -04:00 committed by GitHub
parent 8e675e2bd8
commit a68c029e22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 31 additions and 58 deletions

View file

@ -213,11 +213,9 @@ Via the Python API
Flatpages are represented by a standard
:doc:`Django model </topics/db/models>`,
which lives in `django/contrib/flatpages/models.py`_. You can access
which lives in :source:`django/contrib/flatpages/models.py`. You can access
flatpage objects via the :doc:`Django database API </topics/db/queries>`.
.. _django/contrib/flatpages/models.py: https://github.com/django/django/blob/master/django/contrib/flatpages/models.py
.. currentmodule:: django.contrib.flatpages
.. admonition:: Check for duplicate flatpage URLs.