#9220: AttributeError: 'module' object has no attribute APPNAME  error when
forgetting __init__.py
---------------------------+------------------------------------------------
 Reporter:  GDorn          |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 When adding an app to INSTALLED_APPS, if the app in question isn't a
 proper module (i.e. has __init__.py) the error

 {{{
 AttributeError: 'module' object has no attribute APPNAME
 }}}
 appears, where APPNAME is the first part of the path that fails.


 Mostly, this is just not a very useful error message.  I'm attaching a
 patch with a suggested message.

 I have no idea what to categorize this as.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9220>
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