Hi,

On Oct 2, 1:18 pm, rhett <[EMAIL PROTECTED]> wrote:
> 1) I am working in TextMate and copied/pasted below code. In TextMate
> the "def __str__(self)" is not indented from the pub_date line - it's
> the same indent.

I too use TextMate to do a lot of my Python development.  It
consistently over-indents my code when I copy and paste.  It's trying
to be helpful and "intelligently" indent the pasted code, but the
smart indentation doesn't seem to work very well with Python.

> I know indents are important - is there a way to set
> up TextMate to show correct indentation?

If you highlight the code that you want unindented, you can use
Command-[ to decrease the indentation by one level.

Hope this helps,


Will.


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

Reply via email to