First time here? Check out the FAQ!
0

startforum does not work
 

In my test instance, I have running the forum instance created via 0.7.7 but I just tried again with 0.7.9 and it doesn't work.

python manage.py runserver 127.0.0.1 File "manage.py", line 1 import settings # Assumed to be in the same directory. ^ IndentationError: unexpected indent

I compared it to the manage.py file created via 0.7.7 and the following two lines are missing

from django.core.management import execute_manager try:

There appears to be other issues because changing that didn't work either but you might want to fix the problem here. I wonder why the unit tests didn't catch this problem either. I would be happy to retest

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago
mether's avatar
1.5k
mether
asked 13 years ago

Comments

see more comments

1 Answer

0

Somebody must have accidentally damaged the file or your server. Here is the version from the repository:

https://github.com/ASKBOT/askbot-devel/blob/master/askbot/setup_templates/manage.py

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

Interesting. Let me check this and get back to you
mether's avatar mether (13 years ago)
the manage.py file is simply copied from askbot/setup_templates, and the file at the root of the project is not part of the repository, so the only explanation I see - is that someone by accident edited the file and deleted some lines. I will look at it in a minute.
Evgeny's avatar Evgeny (13 years ago)
I think I figured out why. It seems to be my mistake. I will check myself
mether's avatar mether (13 years ago)
It seems settings.py has a dependency on the captcha module. Shouldn't that be renamed? https://github.com/ASKBOT/askbot-devel/blob/master/askbot/setup_templates/settings.py
mether's avatar mether (13 years ago)
see more comments