From c5817e4704f9d1cafa702fdbd795f62e5e7b7818 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 24 Sep 2015 17:22:56 +0200 Subject: [PATCH] add step confirmation, fix TZ and then new order --- app/diggersdigest/settings.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/diggersdigest/settings.py b/app/diggersdigest/settings.py index 13d9b8b..a6a2f67 100644 --- a/app/diggersdigest/settings.py +++ b/app/diggersdigest/settings.py @@ -123,12 +123,12 @@ SHOP_CHECKOUT_STEPS_SPLIT = True # If True, the checkout process has a final confirmation step before # completion. -# SHOP_CHECKOUT_STEPS_CONFIRMATION = True +SHOP_CHECKOUT_STEPS_CONFIRMATION = True # Controls the formatting of monetary values accord to the locale # module in the python standard library. If an empty string is # used, will fall back to the system's locale. -#SHOP_CURRENCY_LOCALE = '' +SHOP_CURRENCY_LOCALE = 'fr_FR.UTF-8' # Dotted package path and name of the function that # is called on submit of the billing/shipping checkout step. This @@ -176,6 +176,9 @@ MIGRATION_MODULES = { "blog": "diggersdigest.migrations.blog" } + +# PAYPAL + # USE or EXTEND the custom callback-uuid form SHOP_CHECKOUT_FORM_CLASS = 'payments.multipayments.forms.base.CallbackUUIDOrderForm' @@ -233,7 +236,7 @@ ALLOWED_HOSTS = ['*'] # timezone as the operating system. # If running in a Windows environment this must be set to the same as your # system time zone. -TIME_ZONE = 'UTC' +TIME_ZONE = 'Europe/Paris' # If you set this to True, Django will use timezone-aware datetimes. USE_TZ = True -- 2.39.5