Converts settings to Django 1.6