Thursday, December 26, 2013

Re: new to Django and Python

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; see
> http://www.python.org/peps/pep-0263.html for details
>
> I can't find any characters '/xe2' anywhere in the settings.py file,
> line 70 or other wise? I am editing the file in the Xcode IDE. The pep
> article really doesn't help me much. Any suggestions or ideas on what
> needs to be edited in my settings.py file?

Hi, When you save your file in your IDE, are you sure that you save it
as UTF-8 ?

--
"One original thought is worth a thousand mindless quotings."
"Le vrai n'est pas plus sûr que le probable."

Diogene Laerce

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/52BCE063.2020403%40yahoo.fr.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment