can we put this into `settings.py` like elastic/mongo/etc config?