Ticket #8539: doc-peps.diff
File doc-peps.diff, 1.3 KB (added by , 16 years ago) |
---|
-
docs/internals/contributing.txt
411 411 412 412 Please follow these coding standards when writing code for inclusion in Django: 413 413 414 * Unless otherwise specified, follow :pep: 8.414 * Unless otherwise specified, follow :pep:`8`. 415 415 416 416 You could use a tool like `pep8.py`_ to check for some problems in this 417 417 area, but remember that PEP 8 is only a guide, so respect the style of -
docs/topics/db/models.txt
731 731 732 732 :class:`connection <django.db.backends.DatabaseWrapper>` and 733 733 :class:`<django.db.backends.CursorWrapper>` mostly implement the standard Python 734 DB-API -- see :pep: 249-- with the addition of Django's :ref:`transaction734 DB-API -- see :pep:`249` -- with the addition of Django's :ref:`transaction 735 735 handling <topics-db-transactions>`. If you're not familiar with the Python 736 736 DB-API, note that the SQL statement in :meth:`cursor.execute() 737 737 <django.db.backends.CursorWrapper.execute>` uses placeholders, ``"%s"``, rather