RECAPTCHA_USE_SSL = True in settings.py?
Hi,
I just reinstalled Askbot as a stand-alone app and after completing askbot-setup
, I tried to start the django server to test the installation. While doing so, I encountered the following error:
Traceback (most recent call last):
File "manage.py", line 4, in <module>
import settings # Assumed to be in the same directory.
File "/Users/hannes/Development/test_code/askbot2/settings.py", line 237
RECAPTCHA_USE_SSL = True
^
SyntaxError: invalid syntax
I can't really see where the problem with the line 237 (and the lines in the settings.py above) is. It seems that due to the syntax error, manage.py can't load the settings.py and breaks. Is that correct?
Thank you for your answers.
Comments
The problem must be above that line.
hm, i checked the lines above 237 before posting but could not find a syntax error. Strange also that it happens with the untouched code right after
git clone
. I also checked and added the path to thePYTHON PATH
, but no change.Hmm, what is the version of python you are using?