why not just edit directly? https://github.com/andymckay/webpay/blob/937701-payments-alt/webpay/settings/sites/paymentsalt/settings_base.py#L93