DjangoBB

Django based forum engine

  • You are not logged in.
  • Root
  • » Bugs
  • » cannot import name settings [RSS Feed]

#1 Oct. 25, 2011 16:02:09

celtrun
Registered: 2011-10-25
Posts: 3
Reputation: +  0  -
Profile   Send e-mail  

cannot import name settings

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.


Edited slav0nic (Oct. 26, 2011 15:03:34)

Offline

#2 Oct. 26, 2011 15:04:23

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 308
Reputation: +  6  -
Profile   Send e-mail  

cannot import name settings

missed djangobb_forum from INSTALLED_APPS?

Offline

#3 Nov. 7, 2011 16:42:32

celtrun
Registered: 2011-10-25
Posts: 3
Reputation: +  0  -
Profile   Send e-mail  

cannot import name settings

I don't know, but it works now. I don't remember what i did.

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version