asked 2011-11-17 06:49:58 -0500
I wanted try this Askbot so downloaded to my home folder, askbot-setup script worked but if try to run manage.py it gives me following error -
Error: Can't find the file 'settings.py' in the directory containing './manage.py'. It appears you've customized things. You'll have to run django-admin.py, passing it your settings module. (If the file settings.py does indeed exist, it's causing an ImportError somehow.)
I'm setting my pythonpath to same as the container directory of askbot. I'm new to django & python, please help me to sort this problem.
Hello, the pythonpath must also include the parent directory of your whole django project - the one that usually contains
If you already had settings.py before adding askbot - then you'll need to update the settings.py and urls.py manually.
askbot-setup is not attempting to fix the project files.
It also may happen that there is an error during execution of the settings.py file - in that case some debugging might help to figure out what goes wrong - just place print statement somewhere in the middle of the file, then see if it works. Then move around that statement to see what breaks.
In case you are adding askbot to an existing site you'll have to adjust
urls.py manually. The templates are available in
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2011-11-17 06:49:58 -0500
Seen: 91 times
Last updated: Nov 17 '11