Try importing override_settings from django first, before falling back to external package, so as to prevent attribute error on python 3

AttributeError: 'dict' object has no attribute 'iteritems'