Django AttributeError: ‘module’ object has no attribute
10:07 Friday, 4 January 2008
If you get the error “AttributeError: ‘module’ object has no attribute ‘xyz’” in Django. It probably means you’ve added a new app but forgot to put the __init__.py file in the app’s directory.