forked from Hostea/dashboard
allow overriding STRIPE_* with local_settings.py
Without a default value it will fail before it gets a chance to be overriden by local_settings.py Signed-off-by: Loïc Dachary <loic@dachary.org>wip-site
parent
b387e44f49
commit
adcdd00179
|
@ -157,8 +157,8 @@ PAYMENT_VARIANTS = {
|
|||
"stripe": (
|
||||
"payments.stripe.StripeProvider",
|
||||
{
|
||||
"secret_key": env.get_value("STRIPE_SECRET_KEY"),
|
||||
"public_key": env.get_value("STRIPE_PUBLIC_KEY"),
|
||||
"secret_key": env.get_value("STRIPE_SECRET_KEY", default=""),
|
||||
"public_key": env.get_value("STRIPE_PUBLIC_KEY", default=""),
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue