Hi,
Python's parser use indentation to indicate logical blocks. Read more here:
http://www.secnetix.de/olli/Python/block_indentation.hawk
http://diveintopython.org/getting_to_know_python/indenting_code.html
http://docs.python.org/reference/lexical_analysis.html#indentation
You have 3 spaces befo
On Wed, Dec 30, 2009 at 6:24 PM, gintare wrote:
> Hello,
>
> In short
> OS Debian Gnu Linux Lenny
> Python 2.5
> Installed Django-1.1.1.tar.gz,
> /usr/lib/python-django/Django-1.1.1/docs/intro/tutorial01.txt
>
> command python manage.py sql polls
> gives error: IndentationErro
Hello,
In short
OS Debian Gnu Linux Lenny
Python 2.5
Installed Django-1.1.1.tar.gz,
/usr/lib/python-django/Django-1.1.1/docs/intro/tutorial01.txt
command python manage.py sql polls
gives error: IndentationError: unexpected indent
in File "/mano/mysite3/../mysite3/polls/mode
3 matches
Mail list logo