django - python manage.py runserver not recognized -
i new python , django creating first tutorial app.
i created app file using following command:
c:\python27\scripts\django-admin.py startproject mysite
after created file in directory
but how run python manage.py runserver getting error not recognized internal or extrnal command
c:\python27\scripts\django-admin.py startproject mysite
but how run python manage.py runserver
getting error not recognized internal or extrnal command
you need cd
mysite there.
use cd mysite
command line. run python manage.py runserver
, dev server startup in current (or new if there inst current) browser window.
to visualize you:
current_dir/ <-- here mysite/ < -- use cd mysite here! manage.py <-- , use mysite/ __init__.py urs.py settings.py ect.
current_dir created project.
pro tip: have come exact dir use manage.py, if error again while making polls app; in wrong directory.
Comments
Post a Comment