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.

Posted by simonb at 10:07 AM in DjangoProgramming | Email this entry

The trackback URL for this entry is: Trackbacks are disabled for this entry

Trackbacks:

No trackbacks yet.

Comments:

No comments yet.

Post a Comment:

<< Back to main