Re: New to django and python. error following tutorial w/ the shell

2008-05-06 Thread Rodrigo Culagovski
Can you post the code 5 lines before and after the one that's giving you the error? Many times python will report a syntax error in one line that's actually caused by a missing parenthesis, semicolon, etc., in a line before. On May 6, 9:58 am, Jason Ourscene <[EMAIL PROTECTED]> wrote: > I tried w

Re: New to django and python. error following tutorial w/ the shell

2008-05-06 Thread Jason Ourscene
I tried with the space and without the space and i am still getting that error. what do you think? On May 6, 12:28 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 06-May-08, at 9:37 AM, Jason Ourscene wrote: > > >   def __unicode__(self): > > def __unicode__(self):   <- space after

Re: New to django and python. error following tutorial w/ the shell

2008-05-05 Thread LaundroMat
On 6 mei, 06:32, Norman <[EMAIL PROTECTED]> wrote: > and what editor do you use? > some advice? Geany (PC & Linux, Mac probably too) is the one I use. As for books, Core Python Programming is invaluable (to me at least) - see http://www.amazon.com/Core-Python-Programming-2nd/dp/0132269937/ref=pd

Re: New to django and python. error following tutorial w/ the shell

2008-05-05 Thread Kenneth Gonsalves
On 06-May-08, at 10:02 AM, Norman wrote: > Kenneth Gonsalves escribió: >> >> On 06-May-08, at 9:37 AM, Jason Ourscene wrote: >> >>> def __unicode__(self): >> >> def __unicode__(self): <- space after 'def'. If you use a >> python editor it will find errors like this >> > and what edit

Re: New to django and python. error following tutorial w/ the shell

2008-05-05 Thread Norman
Kenneth Gonsalves escribió: > > On 06-May-08, at 9:37 AM, Jason Ourscene wrote: > >> def __unicode__(self): > > def __unicode__(self): <- space after 'def'. If you use a > python editor it will find errors like this > and what editor do you use? some advice? -- Norman F. Sáez I

Re: New to django and python. error following tutorial w/ the shell

2008-05-05 Thread Kenneth Gonsalves
On 06-May-08, at 9:37 AM, Jason Ourscene wrote: > def __unicode__(self): def __unicode__(self): <- space after 'def'. If you use a python editor it will find errors like this -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~

New to django and python. error following tutorial w/ the shell

2008-05-05 Thread Jason Ourscene
So i got it django up and running on my mac and am totally excited to get started, i got a bit into the tutorial when i got to the point where it asked me to add the __unicode__ method to my model. When i add it to my model and try to use the shell i get this error. If you anyone can help me with