Сompatibility with Django 1.6 and python 3.4