Re: New to Django and Python

2020-01-05 Thread Hedrick Godson's
Wish you well with ur new journey On Sun, 5 Jan 2020, 16:50 'Dash LaLonde' via Django users < django-users@googlegroups.com> wrote: > Hello, > > Just wanted to say hello and let you all know that I will probably be > posting many questions. > > -- > You received this message because you are subsc

Re: new to Django and Python

2014-01-08 Thread Hans S . Tømmerholt
在 2013年12月27日星期五UTC+8上午4时44分24秒,Brent Register写道: I get an error message when I run the"$ python manage.py syncdb" Command. 70 SyntaxError: Non-ASCII character '\xe2' in file /Users/bmregister/djangoLocal/myFirstSite/myFirstSite/settings.py on line 70, but >no encoding declared; see http:

Re: new to Django and Python

2014-01-08 Thread 向量
oh, my god. your db have problem, what db you use, mysql or sqlite? 在 2013年12月27日星期五UTC+8上午4时44分24秒,Brent Register写道: > > I get an error message when I run the > "$ python manage.py syncdb" > Command. > > > 70 > SyntaxError: Non-ASCII character '\xe2' in file > /Users/bmregister/djangoL

Re: new to Django and Python

2013-12-27 Thread Damián Pérez
this is because you are use special characters. you can include in you python files: # -*- coding: utf-8 -*- regards, On Thursday, December 26, 2013 2:44:24 PM UTC-6, Brent Register wrote: > > I get an error message when I run the > "$ python manage.py syncdb" > Command. > > > 70 > Synt

Re: new to Django and Python

2013-12-26 Thread trojactory
Hi Brent, Did you try the suggestions in the PEP link? Try adding this line at the top of the file: # coding: utf-8 Cheers, Arun On Friday, 27 December 2013 02:14:24 UTC+5:30, Brent Register wrote: > > I get an error message when I run the > "$ python manage.py syncdb" > Command. > > >

Re: new to Django and Python

2013-12-26 Thread Diogene Laerce
On 12/27/2013 03:44 AM, Register, Brent (CMG-Atlanta) wrote: I get an error message when I run the "$ python manage.py syncdb" Command. 70 SyntaxError: Non-ASCII character '\xe2' in file /Users/bmregister/djangoLocal/myFirstSite/myFirstSite/settings.py on line 70, but no encoding declared; s

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/ --~--~-~--~