error in manage.py add_missing_subscriptions
Hello!
I'm having a problem when running python manage.py add_missing_subscriptions
. The error is:
File "/var/www/project/src/apps/askbot/mail/__init__.py", line 15, in < module > from askbot.conf import settings as askbot_settings
ImportError: cannot import name settings
I'v entered into debug (putting a pdb.set_trace in line 14, and when I execute from askbot.conf import settings as askbot_settings
it gives me the same error. This is normal, but when I execute python manage.py runserver 0.0.0.0:8001
, the same line (from askbot.conf import settings as askbot_settings) in the debug, doesn't raise any error. I've looking at the sys.path, and paths are the same in both cases.
I don't know where is the problem. Any help will be appreciated.
Thanks
Comments
Ok, It seems that is a problem with circular import. I need to look at my others apps code and see wich one is causing this situation. Thanks.