fix reference to django settings