Fixed syntax errors and excluded pypy with django 1.4.