From a16988450531aeae9c70e7035311426a91f6d5b9 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 25 Aug 2008 19:28:57 +0000 Subject: [PATCH] Fixed #8539: fixed PEP references. Thanks, carljm. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8552 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/internals/contributing.txt | 2 +- docs/topics/db/models.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internals/contributing.txt b/docs/internals/contributing.txt index b96ed4360c..2c08bcd77b 100644 --- a/docs/internals/contributing.txt +++ b/docs/internals/contributing.txt @@ -411,7 +411,7 @@ Coding style Please follow these coding standards when writing code for inclusion in Django: - * Unless otherwise specified, follow :pep:8. + * Unless otherwise specified, follow :pep:`8`. You could use a tool like `pep8.py`_ to check for some problems in this area, but remember that PEP 8 is only a guide, so respect the style of diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index ba7097dfa7..b328a34803 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -733,7 +733,7 @@ the resulting rows. For example:: :class:`connection ` and :class:`` mostly implement the standard Python -DB-API -- see :pep:249 -- with the addition of Django's :ref:`transaction +DB-API -- see :pep:`249` -- with the addition of Django's :ref:`transaction handling `. If you're not familiar with the Python DB-API, note that the SQL statement in :meth:`cursor.execute() ` uses placeholders, ``"%s"``, rather