Re: def __str__(self) error in tutorial part 1

2007-10-03 Thread Will McCutchen
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

Re: def __str__(self) error in tutorial part 1

2007-10-02 Thread Jeremy Dunck
On 10/2/07, rhett <[EMAIL PROTECTED]> wrote: > > Total newbie here to Django and Python. Thanks for any insight. > > 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 know indents are

def __str__(self) error in tutorial part 1

2007-10-02 Thread rhett
Total newbie here to Django and Python. Thanks for any insight. 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 know indents are important - is there a way to set up TextMate to show