adapt to new django-require settings
upgraded to latest django version