Thursday, December 26, 2013

Re: new to Django and Python

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.  


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?

Brent.



--
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/79280262-1dd0-4aa7-9e62-2a5f759e4c8e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment