#10933: Avoid " TypeError: Cannot convert Decimal("0.0000") to Decimal  " when 
the
decimal module has been reloaded
-------------------------------------+-------------------------------------
     Reporter:  gagravarr            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  dceu2011             |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  1                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by jonaskoelker):

 
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Multiple_Python_Sub_Interpreters
 explicitly mentions decimal.Decimal in the context of psycopg2.  I'm
 experiencing this problem using sqlite3 as my database, so it's obviously
 not limited to PostgreSQL.  I think this explains why the
 workaround/solution in comment:15 works.  HTH :-)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/10933#comment:22>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to