On Tue, Apr 14, 2009 at 12:59 PM, AliasXNeo <joshuagil...@gmail.com> wrote:

>
> I recently downloaded the latest Official release of Django for
> installation on my Windows XP OS. After copying the appropriate files
> over to the site-packages folder in the python installation, I
> attempted to create a test project to insure correct installation by
> invoking the command: django-admin.py startproject testproject. Python
> returns a syntax error, pointing to a spot in django/__init__.py on
> line 15 where the code is: if svn_rev != u'SVN-known' :. Now clearly
> the random u before the first quote is not supposed to be there, and
> removing it fixes the syntax error. The problem is after fixing it
> another syntax error is brought up with the same problem, random
> characters where they are not supposed to be.
>
> The problem is intriguing, and I attempted to download and install the
> official release 3 more times and then proceeded to get the latest
> develepor release from SVN only to get the same exact problem. I'm
> running the latest version of Python 3 on standard Windows XP. My
> question is, why are these random syntax errors showing up and how can
> I fix it?
>
> >
>
That charecter is most assuradley supposed to be there u indicates the
string is a unicode literal.  Django does not work with Python 3.0 as
documented.  It works with Python 2.3-2.6.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to