#24889: Multi dotted path ImportError
-------------------------------+--------------------------------------
     Reporter:  abstractpaper  |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  Core (Other)   |                  Version:  1.8
     Severity:  Normal         |               Resolution:  worksforme
     Keywords:  ImportError    |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by abstractpaper):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 It looks like it, although naturally django apps are imported with
 `django.apps.app_name` instead of a partial `apps.app_name`, so it would
 make more sense for `import apps.app_name` to look for the app in the
 project first and then revert back to third party packages. I'm not sure
 if this is within Django's control - namespace perhaps?

 I'm closing the ticket and renaming the folder to something else other
 than `apps`.

--
Ticket URL: <https://code.djangoproject.com/ticket/24889#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.ea2c319f226d059b453ed00bb00550a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to