Blog Archive for December 13, 2009

Django apps need models.py

December 13, 2009

Individual apps inside a django site need to have a models.py, or else the test framework doesn't find them, and so doesn't run the tests:

$ ./manage.py test feeds
Traceback (most recent call last):          
  File "./manage.py", line 13, in <module>  
    execute_manager(settings)               
  File "/home/user/bbr/django/core/management/__init__.py", line 439, in execute_manager
    utility.execute()                                                                      
  File "/home/user/bbr/django/core/management/__init__.py", …