Skip to content
Newer
Older
100644 18 lines (13 sloc) 598 Bytes
db66e04 @ipmb reorganizes content and updates README
ipmb authored Mar 27, 2009
1 .. _code-index:
2
3527591 @ipmb updates code docs
ipmb authored Mar 27, 2009
3 .. index:: Coding Conventions, PEP 8, PEP 20
db66e04 @ipmb reorganizes content and updates README
ipmb authored Mar 27, 2009
4 pair: Python; Coding Conventions
5 pair: Django; Coding Conventions
6
7
8 Coding Style
9 ============
10
3527591 @ipmb updates code docs
ipmb authored Mar 27, 2009
11 In general, code should be clean, concise and readable. `The Zen of Python (PEP 20) <http://www.python.org/dev/peps/pep-0020/>`_ is a great introduction to best coding practices for Python.
12
13 + Follow the `Style Guide for Python Code (PEP 8)
db66e04 @ipmb reorganizes content and updates README
ipmb authored Mar 27, 2009
14 <http://www.python.org/dev/peps/pep-0008/>`__ as closely as
15 reasonable.
3527591 @ipmb updates code docs
ipmb authored Mar 27, 2009
16 + Follow the `Django coding style
db66e04 @ipmb reorganizes content and updates README
ipmb authored Mar 27, 2009
17 <http://docs.djangoproject.com/en/dev/internals/contributing/#coding-
3527591 @ipmb updates code docs
ipmb authored Mar 27, 2009
18 style>`__.
Something went wrong with that request. Please try again.