On 3 September 2010 19:42, gintare wrote:
> Hello,
>
> I mean the correct way of running django seems to be to add to windows
> environmental variable PATH c:/first/Python26/Lib/site-packages/
> Django-1.2.1/django/bin
> and when run
> $ cmd
> $ django-admin.py startproject mysite
>
> the question
Hello,
I mean the correct way of running django seems to be to add to windows
environmental variable PATH c:/first/Python26/Lib/site-packages/
Django-1.2.1/django/bin
and when run
$ cmd
$ django-admin.py startproject mysite
the question, why importing management from django.core do not work?
from
Thanks a lot!
Would like to clearify how i should run python from command line:
1)
cmd
#in command line shell under windows
cd c:/first/Pyhton26
#change to directory with pyhton executable
python #
to start python environment in comman
If you want to understand why you are getting the error, start by
understanding Python modules -
http://docs.python.org/tutorial/modules.html
Hint - you can't just copy a script around and expect it to work. The
script depends on other files to make it all happen.
If in python, you type,
import
I am not able to run django under windows7
python django-admin.py #is recognized if i paste it to c:/first/
Python26 together with python executable.
I am getting error: No module named django.core
File "django-admin.py", line2, in
from django.core import management
It seems the command line
5 matches
Mail list logo