Code

Changes between Version 12 and Version 13 of BetterErrorMessages


Ignore:
Timestamp:
09/04/06 00:43:57 (8 years ago)
Author:
dev@…
Comment:

manage.py now checks for applications named the same as a project, and warns accordingly

Legend:

Unmodified
Added
Removed
Modified
  • BetterErrorMessages

    v12 v13  
    3333 
    3434{{{ 
    35 EnvironmentError: Could not import settings 'foo.settings' (Is it on sys.path? Does it have syntax errors?): No module named settings 
    36 }}} 
    37 '''Context:''' Application name is same as project name, causing import problems. (See #1908 for full example.)[[BR]] 
    38 '''Suggestion:''' Given how often beginners are likely to make this mistake, it would be nice for Django to look for this conflict and warn the user. 
    39  
    40  * Ticket #1791 suggests better error messages in cases where application dependencies are not satisfied. 
    41  
    42 {{{ 
    4335TypeError at ... 
    4436string indices must be integers