tangowithcode / tango_with_django_19

A beginners guide to web programming with Python / Django 1.9
Apache License 2.0
207 stars 188 forks source link

command typo #18

Open pawonfire opened 8 years ago

pawonfire commented 8 years ago

In section 3.2 on page 16, it lists this to start the first project: $ django-admin.py startproject tango_with_django_project

I had to do this (remove the .py extension): $ django-admin startproject tango_with_django_project

I am using python 3.4.3 and django 1.9.6. I under stand this is not 2.7.10, but in the previous section, it says python 3.4+ should work fine.

leifos commented 8 years ago

Hi, what operating system are you using?

pawonfire commented 8 years ago

Ubuntu MATE 15.10

leifos commented 8 years ago

Hmm.. I'll have to look into why this is case...

maxwelld90 commented 8 years ago

Following up (four months later, whoops) - on my setup, django-admin and django-admin.py both work. Maybe I will just add a small note saying if one doesn't work, try the other. I've had a look online and can't see a decent explanation for why this happens - maybe it's a paths issue or something.

maxwelld90 commented 8 years ago

I'll leave this open - if anyone wants to add their comments to this.