#10727: Exception Raised: TypeError: Initialization arguments are not supported
---------------------------------------------------+------------------------
          Reporter:  dejones                       |         Owner:  nobody     
                                          
            Status:  reopened                      |     Milestone:             
                                          
         Component:  Database layer (models, ORM)  |       Version:  SVN        
                                          
        Resolution:                                |      Keywords:  TypeError: 
Initialization arguments are not supported
             Stage:  Unreviewed                    |     Has_patch:  1          
                                          
        Needs_docs:  0                             |   Needs_tests:  0          
                                          
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by termie):

  * status:  closed => reopened
  * has_patch:  0 => 1
  * resolution:  invalid =>

Comment:

 reopening this, as this is is still in Django 1.1 and affects all backends
 using the python version of _threading_local module (any env without a
 thread module) and explicit steps have been made in other parts of the
 code ( http://code.djangoproject.com/changeset/10096 ) to deal with the
 repercussions of this as affected by python 2.3, however in python 2.4 the
 patched django version of the file is never used as the threading module
 will use the built-in python version.

 the attached patch "thread_local_import.diff" works fine for fixing this.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10727#comment:4>
Django <http://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 this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to