]> git.parisson.com Git - diggersdigest.git/commitdiff
add log volume, fix settings
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 25 Sep 2015 13:31:29 +0000 (15:31 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 25 Sep 2015 13:31:29 +0000 (15:31 +0200)
app/diggersdigest/settings.py
app/records/models.py
docker-compose.yml

index 79d856ee386ad170fd65959fe91428db0bf840c6..cf530af3606c94951c84ae50c59c9906225a46f7 100644 (file)
@@ -119,11 +119,11 @@ SEARCH_MODEL_CHOICES = ('shop.Product',)
 
 # If True, the checkout process is split into separate
 # billing/shipping and payment steps.
-SHOP_CHECKOUT_STEPS_SPLIT = True
+SHOP_CHECKOUT_STEPS_SPLIT = False
 
 # If True, the checkout process has a final confirmation step before
 # completion.
-SHOP_CHECKOUT_STEPS_CONFIRMATION = True
+SHOP_CHECKOUT_STEPS_CONFIRMATION = False
 
 # Controls the formatting of monetary values accord to the locale
 # module in the python standard library. If an empty string is
index 0c92ccb2fde885dcad7344a5a361bb591b5614e4..68b9ab3ebab315eab1d7c94c90101bc403d102db 100644 (file)
@@ -298,7 +298,7 @@ def payment_complete(sender, **kwargs):
     triggered on PayPal IPN callback)."""
 
     ipn_obj = sender
-
+    print sender
     if ipn_obj.custom and ipn_obj.invoice:
         s_key, cart_pk = ipn_obj.custom.split(',')
         SessionStore = import_module(settings.SESSION_ENGINE) \
@@ -310,6 +310,7 @@ def payment_complete(sender, **kwargs):
             try:
                 order = Order.objects.get(
                     transaction_id=ipn_obj.invoice)
+                print order
                 # order = Order.objects.get(key=s_key)
                 for field in order.session_fields:
                     if field in session:
index 0ebf44b71a8197515e9b76d2514013b8d8e8f953..288c05893a64805f687e87fe85673db5a137b2cc 100644 (file)
@@ -33,7 +33,7 @@ nginx:
     - "80:80"
   volumes:
     - ./app/deploy/nginx-app.conf:/etc/nginx/conf.d/default.conf
-    - /var/log/nginx
+    - ./log/:/var/log/nginx
   volumes_from:
     - media
   links: