Fixing problem with client in Django 1.6