python - Django startproject doesn't create folder in virtualenv -
i'm following tutorial @ http://djangobook.com/installing-django/ setup django. created new virtualenv , installed django in it. activate through:
source env_mysite/bin/activate
after see (env_mysite) before computer name in terminal. run
django-admin startproject mysite
and here tutorial says:
this create mysite directory in current directory (in case \env_mysite).
but folder created in user root folder, not in env_mysite folder. why happening?
you don't need create project in venv folder (actually, better not). need virtual environment 'communicate' project via terminal (starting, migrating...) virtual environment contains needed tools run project, project not part of it.
Comments
Post a Comment