Djangobb problem

I installed the Djangobb application on my server (Debian, mod_python), cloning the source source. The only thing I changed is the database settings in settings.py. All necessary components are installed - the syncdb request was executed correctly.

But when I try to enter my forum, it returns me an error:

Incorrectly configured: django_authopenid.middleware middleware import error: "There is no module named djangobb_forum.subscription"

I checked - djangobb_forum / subscription.py exists, so I don’t know what might be wrong.

Maybe someone had such problems and know how to fix it?

Sorry for my English.

+4
source share
1 answer

There are two obvious reasons why this could happen:

  • djangobb_forum not in your Python path.
  • There is no __init__.py in the djangobb_forum __init__.py folder

If the code says from djangobb_forum import ... then you need to have the djangobb_forum parent folder in your Python path.

+2
source

Source: https://habr.com/ru/post/1304703/


All Articles