Not technically a bug, although it is a common point of confusion. It depends on how you installed Django. Both perform the same function on their respective systems. There's a note with this link on the first page of the tutorial, although admittedly I believe they should be more explicit with this issue on the tutorial page.
https://docs.djangoproject.com/en/1.7/faq/troubleshooting/#troubleshooting-django-admin-py -James On Mar 4, 2015 10:13 PM, "Deep Sukhwani" <deepsukhw...@gmail.com> wrote: > Hi, > > I am a newbie to this community and I am not sure how should I submit this > bug/error in 1st part of Django Tutorial. > > Here's the error: > On page Writing your first Django app, part 1 | Creating a project > <https://docs.djangoproject.com/en/1.7/intro/tutorial01/#creating-a-project> > notice > it says *django-admin.py startproject mysite* whereas it should actually > be *django-admin startproject mysite* > > Note: I am not sure if the documentation here: Problems running > django-admin > <https://docs.djangoproject.com/en/dev/faq/troubleshooting/#command-not-found-django-admin> > relates > to this issue (Screenshot below): > > > <https://lh6.googleusercontent.com/-p66DSXOXTxU/VPfzyV85mnI/AAAAAAAAHco/Nae-ocJ5jPk/s1600/2015-03-05%2B11_41_32-Troubleshooting%2B_%2BDjango%2Bdocumentation%2B_%2BDjango.png> > > > I am on a Windows 7 64-bit machine, running Django 1.7.5 with Python 2.7.9 > (64-bit). If I run *django-admin.py startproject mysite*, I get following > response: > > Usage: django-admin.py subcommand [options] [args] > > > Options: > -v VERBOSITY, --verbosity=VERBOSITY > Verbosity level; 0=minimal output, 1=normal output > , > 2=verbose output, 3=very verbose output > --settings=SETTINGS The Python path to a settings module, e.g. > "myproject.settings.main". If this isn't > provided, the > DJANGO_SETTINGS_MODULE environment variable will be > used. > --pythonpath=PYTHONPATH > A directory to add to the Python path, e.g. > "/home/djangoprojects/myproject". > --traceback Raise on exception > --no-color Don't colorize the command output. > --version show program's version number and exit > -h, --help show this help message and exit > > > Type 'django-admin.py help <subcommand>' for help on a specific > subcommand. > > > Available subcommands: > > > [django] > check > compilemessages > createcachetable > dbshell > diffsettings > dumpdata > flush > inspectdb > loaddata > makemessages > makemigrations > migrate > runfcgi > runserver > shell > sql > sqlall > sqlclear > sqlcustom > sqldropindexes > sqlflush > sqlindexes > sqlinitialdata > sqlmigrate > sqlsequencereset > squashmigrations > startapp > startproject > syncdb > test > testserver > validate > Note that only Django core commands are listed as settings are not > properly configured (error: Requested setting INSTALLED_AP > PS, but settings are not configured. You must either define the > environment variable DJANGO_SETTINGS_MODULE or call settings. > configure() before accessing settings.). > > However if I run, *django-admin startproject mysite*, the new mysite > directory is created along with all the default files > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/78dc0cb3-6269-40ca-9c08-358e9a67d0fd%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/78dc0cb3-6269-40ca-9c08-358e9a67d0fd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUMv7B96igb8eUyudfEc30_rEnGrtGc_8OxQwaLGE%3DYGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.