Updates required to work on Django 1.7

Can you use parens here like you have in L175-6