Fixed bugs with Django 1.7.1 -> move to Django 1.6.8