error occur when click the APPLY button to apply the discount code when 
purchasing the product ,  having set the discount code correctly in admin 
account 
error info:

<django.utils.functional.__proxy__ object at 0x1033c4590> is not JSON 
serializable

traceback info:



   - 
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py
 in dumps
   1. 
      
              **kw).encode(obj)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/shop/checkout/#>
   - 
   
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py
    in encode
   1. 
      
              chunks = self.iterencode(o, _one_shot=True)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/shop/checkout/#>
   - 
   
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py
    in iterencode
   1. 
      
              return _iterencode(o, 0)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/shop/checkout/#>
   - 
   
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py
    in default
   1. 
      
              raise TypeError(repr(o) + " is not JSON serializable")
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/shop/checkout/#>
   

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to