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 before word "class" and 4 is standard which you may have
been using (even not being aware of it) - try change that. If not, try to
figure out where you have wrong indentation. If you wouldn't be able to fix
the code put content of the file at http://pastebin.com/ and write here
again with link to it.

Hope it helps

On Dec 31, 2009, at 12:24 AM, gintare wrote:

> IndentationError

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to