added template best practices to contributing.rst

This commit is contained in:
Ethan Soergel 2013-06-24 11:24:23 -04:00
parent 0f56bde069
commit 8644fb02f9

View file

@ -185,6 +185,9 @@ django-admin2 pull requests should be as small/atomic as possible. Large, wide-s
Best Practices
--------------
Python
~~~~~~
Follow PEP-0008 and memorize the Zen of Python::
>>> import this
@ -201,6 +204,14 @@ As much as possible, we follow the advice of the `Two Scoops of Django`_ book. P
.. _`Two Scoops of Django`: https://2scoops.org
Templates
~~~~~~~~~
Follow bootstrap's coding standards for HTML_ and CSS_. Use two spaces for indentation, and write so the templates are readable (not for the generated html).
.. _HTML: https://github.com/twitter/bootstrap/blob/master/CONTRIBUTING.md#coding-standards-html
.. _CSS: https://github.com/twitter/bootstrap/blob/master/CONTRIBUTING.md#coding-standards-css
How pull requests are checked, tested, and done
===============================================