update settings.py: add two settings added in Django 1.5