Re: error in the example

2009-12-30 Thread Ɓukasz Balcerzak
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

Re: error in the example

2009-12-30 Thread Doug Blank
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

error in the example

2009-12-30 Thread gintare
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