Hello. I'm totally new to django, and I'm using its documentation to get help on how to use it
but seems like something is missing. i installed django using setup.py install command
and i added the ( django/bin ) to system path variable but. i still cant start a new project
i use the following syntax to start a project :
django-admin.py startproject myNewProject
but it says
Type 'django-admin.py help' for usage.
1
UPDATES :
i use windows vista x64 . i checked the environment variables and i don't have DJANGO_SETTINGS_MODULE variable in there . should i add one ?? and with what value ?
do i miss anything ?
thank u
views:
118answers:
3In that case it would be: Error: [Errno 13] Permission denied
Łukasz
2010-03-31 13:08:46
Of course, my bad...
W_P
2010-03-31 13:29:16
+2
A:
See http://docs.djangoproject.com/en/dev/ref/django-admin/#startproject-projectname
This command is disabled when the --settings option to django-admin.py is used, or when the environment variable DJANGO_SETTINGS_MODULE has been set. To re-enable it in these situations, either omit the --settings option or unset DJANGO_SETTINGS_MODULE.
S.Lott
2010-03-31 13:10:49
i tried 'django-admin.py settings' and help , but it still shows that message.
Moayyad Yaghi
2010-03-31 13:45:20
A:
check whether you have djagno or not and the it is in python path or not.if using linux go to terminal type python and then try to import django
ha22109
2010-04-01 10:13:15