fixed a syntax error
updated django from 1.4.1 to 1.4.5