> >>> django-admin.py startproject mysite Are you putting that in the python interactive shell? If so, that would seem to be your problem. You'd probably want to do "python django-admin.py startproject mysite" from the normal terminal prompt.
On Jun 18, 1:33 pm, walterbyrd <[EMAIL PROTECTED]> wrote: > I am running debian 4.x testing at home. I also have dreamhost. My > plan is to try to get something working on my home box, then I'll try > to install django on dreamhost. My plan is to keep the installations > as similar as possible - I think that might make it easier. > > My home box: > I have python 2.3 and 2.4 installed (not sure how that happend), but > 2.4 comes up by default. I have apache, mysql, sqlite3, pysqlite, and > django installed. I am a little more familiar with mysql, but I think > I might get better performance out of sqlite - especially on the > hosted site. > > I don't want to use postgresql, or mod_python, because those are not > available on dreamhost. I think dreamhost has python 2.4.1 available, > and I think I can install sqlite 3.3. > > Here is where I'm lost: > > >From the django book, chapter 2, getting started: > > http://www.djangobook.com/en/beta/chapter02/ > > -- > Starting a project > If this is your first time using Django, you'll have to take care of > some initial setup. > Run the command django-admin.py startproject mysite. That'll create a > mysite directory in your current directory. > > I can import django, but "django-admin.py startproject mysite" causes > a syntax error. > > >>> django-admin.py startproject mysite > > File "<stdin>", line 1 > django-admin.py startproject mysite > ^ > SyntaxError: invalid syntax > -- > > I'm sure it's something simple, but I don't know what to do. Any help > appreciated. Also would appreciate any advise on my overall plan. > > Thank you in advance. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---