Files @ 260a7a01b054
Branch filter:

Location: kallithea/docs/index.rst - annotation

260a7a01b054 975 B text/prs.fallenstein.rst Show Source Show as Raw Download as Raw
Mads Kiilerich
follow Python conventions for boolean values

True and False might be singletons and the "default" values for "boolean"
expressions, but "all" values in Python has a boolean value and should be
evaluated as such. Checking with 'is True' and 'is False' is thus confusing,
error prone and unnessarily complex.

If we anywhere rely and nullable boolean fields from the database layer and
don't want the null value to be treated as False then we should check
explicitly for null with 'is None'.
.. _index:

.. include:: ./../README.rst

Users Guide
-----------

**Installation:**

.. toctree::
   :maxdepth: 1

   installation
   setup
   upgrade

**Usage**

.. toctree::
   :maxdepth: 1

   usage/general
   usage/git_support
   usage/performance
   usage/locking
   usage/statistics
   usage/backup
   usage/subrepos
   usage/debugging
   usage/troubleshooting

**Develop**

.. toctree::
   :maxdepth: 1

   contributing
   changelog

**API**

.. toctree::
   :maxdepth: 1

   api/api
   api/models


Other topics
------------

* :ref:`genindex`
* :ref:`search`

.. _virtualenv: http://pypi.python.org/pypi/virtualenv
.. _python: http://www.python.org/
.. _django: http://www.djangoproject.com/
.. _mercurial: http://mercurial.selenic.com/
.. _bitbucket: http://bitbucket.org/
.. _subversion: http://subversion.tigris.org/
.. _git: http://git-scm.com/
.. _celery: http://celeryproject.org/
.. _Sphinx: http://sphinx.pocoo.org/
.. _vcs: http://pypi.python.org/pypi/vcs