Skip to content

Commit

Permalink
All image configs can now be overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
rozza committed Nov 18, 2010
1 parent f96c58d commit b78090f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions paypal/standard/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class PayPalSettingsError(Exception):

# Images
IMAGE = getattr(settings, "PAYPAL_IMAGE", "http://images.paypal.com/images/x-click-but01.gif")
SUBSCRIPTION_IMAGE = "https://www.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif"
DONATION_IMAGE = "https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif"
SUBSCRIPTION_IMAGE = getattr(settings, "PAYPAL_SUBSCRIPTION_IMAGE", "https://www.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif")
DONATION_IMAGE = getattr(settings, "PAYPAL_DONATION_IMAGE", "https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif")
SANDBOX_IMAGE = getattr(settings, "PAYPAL_SANDBOX_IMAGE", "https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif")
SUBSCRIPTION_SANDBOX_IMAGE = "https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif"
DONATION_SANDBOX_IMAGE = "https://www.sandbox.paypal.com/en_US/i/btn/btn_donateCC_LG.gif"
SUBSCRIPTION_SANDBOX_IMAGE = getattr(settings, "PAYPAL_SUBSCRIPTION_SANDBOX_IMAGE", "https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif")
DONATION_SANDBOX_IMAGE = getattr(settings, "PAYPAL_DONATION_SANDBOX_IMAGE", "https://www.sandbox.paypal.com/en_US/i/btn/btn_donateCC_LG.gif")

0 comments on commit b78090f

Please sign in to comment.