Search - User list
Full Version: cannot import name settings
Root » Bugs » cannot import name settings
1
celtrun
I getting list of this errors, which in general are named as
'cannot import name settings': /myproject/apps/djangobb_forum/subscription.py in <module>, line 7
/myproject/apps/djangobb_forum/__init__.py in <module>, line 1 (import signals)
/myproject/apps/djangobb_forum/signals.py in <module>
from djangobb_forum.subscription import notify_topic_subscribers
/myproject/apps/djangobb_forum/subscription.py in <module>
from djangobb_forum import settings as forum_settings
For more i can say that in this time i haven't djangobb_forum, django_authopenid or haystack in installed apps because if i add them and restart apache i getting Internal Server Error (500), also getting this error if i `syncdb` or/and add to my middlewares one or more of this: ‘django_authopenid.middleware.OpenIDMiddleware’,
'djangobb_forum.middleware.LastLoginMiddleware',
'djangobb_forum.middleware.UsersOnline'.

I have in my TEMPLATE_CONTEXT_PROCESSORS added:
‘django_authopenid.context_processors.authopenid’,
‘djangobb_forum.context_processors.forum_settings’.
I also change my urls and settings, i hope properly.

Has someone has any ideas what i am doing wrong? For more i can say that everything was ok, before i change hosting server and transfer my files.


slav0nic
missed djangobb_forum from INSTALLED_APPS?
celtrun
I don't know, but it works now. I don't remember what i did.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB