I'm trying to start the tutorial (on Windows by the way) and I can't get anywhere. When I enter "django-admin.py startproject mysite" into either the interpreter or the Python command line I get the same message: Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import django >>> django-admin.py startproject mysite ^ SyntaxError: invalid syntax >>>
I've already made sure "C:\Python27\Lib\site-packages\django\bin" is set to my system path settings, and django-admin.py is in bin. What am I doing wrong? Also, I haven't been able to cd. I've tried os.chdir(), but it says 'os' is not defined. In the Python docs it says that's supposed to work on Windows machines, so is that not the right function for what I'm trying to do? -- 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.