Update conf.py to django 1.7