Patche to Django1.6
Fix silly error