simonb.com: blog > Django AttributeError: ‘module’ object has no attribute

skip to content
You are here: 

Django AttributeError: ‘module’ object has no attribute

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.

Tags: