Friday, December 27, 2013

Re: new to Django and Python

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
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/f00425ea-cbef-4c8f-8ba6-2835418b2fb6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment