SyntaxError in management.py
|Reported by:||VaidyaR||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I am a completely new Django user, and I was basically following the tutorial (http://www.djangoproject.com/documentation/tutorial01/) to try and create a Django app. I basically ran "python manage.py runserver" from the command line, and it gives me the following error:
C:\Documents and Settings\Ganesh\My Documents\Django Files\mysite>python manage.
c:\Django-0.96.2\django\core\management.py:830: Warning: 'yield' will become a r
eserved keyword in the future
Traceback (most recent call last):
File "manage.py", line 2, in ?
from django.core.management import execute_manager
File "c:\Django-0.96.2\django\core\management.py", line 830
yield "# This is an auto-generated Django model module."
SyntaxError: invalid syntax
Any help would be much appreciated, as am totally lost - thanks! I am running Django 0.96.2 on Python 2.5 on Windows XP.