[Answer]-No module named views error in Django. Is it due to Apache, wsgi.py or other?

1👍

I don’t have any experience with django-braces, but I’m assuming this is a problem with circular dependencies. I’ve seen problems with circular dependencies that crop up with mod_wsgi / Apache and not the Django dev server since modules may be imported differently by Django (in different orders) depending on how your site is configured or deployed.

This sounds very similar to Baffled: Django "could not import app.views" but can import app, in WSGI?, for example.

Leave a comment