get_connection should use django settings over environment settings