Re: windows7, django-admin.py, system variables, no module named django.core

2010-09-04 Thread Sam Lai
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

Re: windows7, django-admin.py, system variables, no module named django.core

2010-09-03 Thread gintare
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

Re: windows7, django-admin.py, system variables, no module named django.core

2010-09-03 Thread gintare
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

Re: windows7, django-admin.py, system variables, no module named django.core

2010-08-25 Thread Sam Lai
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

windows7, django-admin.py, system variables, no module named django.core

2010-08-25 Thread gintare
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