Re: Simple Model Syntax Errors

2006-06-24 Thread Malcolm Tredinnick
On Sun, 2006-06-25 at 00:18 +, Scott McCracken wrote: > Don, > > Thank you for that tip - it does have something to do with the > indenting. I am a bit confused as to why that is happening as I was > simply trying to follow the example which shows code like: > > class Poll(models.Model): >

Re: Simple Model Syntax Errors

2006-06-24 Thread Scott McCracken
Don, Thank you for that tip - it does have something to do with the indenting. I am a bit confused as to why that is happening as I was simply trying to follow the example which shows code like: class Poll(models.Model): # ... class Admin: pass I am using TextMate on OS X and ma

Re: Simple Model Syntax Errors

2006-06-24 Thread Don Arbow
On Jun 24, 2006, at 11:18 AM, Scott McCracken wrote:from webmules.polls.models import Poll, Choice Traceback (most recent call last):   File "", line 1, in ?   File "/Users/swm/Sites/webmules/../webmules/polls/models.py", line 8     def __str__(self):     ^ When you get a syntax error where it's po

Re: Simple Model Syntax Errors

2006-06-24 Thread Scott McCracken
Sorry, I didn't know this forum doesn't accept HTML in it's message bodies. Hopefully my message is still readable. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Simple Model Syntax Errors

2006-06-24 Thread Scott McCracken
This is my second time going through the http://www.djangoproject.com/documentation/tutorial1/";>Django tutorials. The first time I ran through the whole process on my dreamhost server without any errors. This time I'm using the local development server on my computer (Mac OS X v10.4.6 / Python 2.