Fixes compatibility to django 1.3

Overriding settings is only possible since django 1.4