#8193: `__import__(mod, {}, {}, [''])` causes double import of modules ('module'
and 'module' + '.')
------------------------------------+---------------------------------------
Reporter: i_i | Owner: nobody
Status: new | Milestone: post-1.0
Component: Uncategorized | Version: SVN
Resolution: | Keywords: import
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
------------------------------------+---------------------------------------
Comment (by hvendelbo):
Ok, perhaps it isn't a show stopper.
This is causing problems for me for the third time though. I am adding a
bit of settings defaults, and my defaults seem to be set 4 times. Even
though I only set them if the attribute doesn't already exist. Sounds to
me that django.conf.settings is being loaded 4 times. And then the
"slight" problem that admin can't load. If I disable my code things appear
fine.
Now there might be a bug in my code, but I still cant find it among my
massive 6 lines of code after looking over it for 30 mins.
--
Ticket URL: <http://code.djangoproject.com/ticket/8193#comment:13>
Django Code <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
-~----------~----~----~----~------~----~------~--~---