wiki:CodingConventions

We have pretty simple coding conventions so anyone can follow them:

  • Only spaces, no tabs (for python use four spaces and for html -- two)
  • Don't put unnecessary spaces, i.e. Article.objects.get(name=slug) and not Article.objects.get ( name = slug )
  • Follow the conventions you see used in the source already.

And it may be interesting to read  Python Style Guide by Guido van Rossum.