I have a problem when creating a django project

Y

YetToCome

I can't create a django project, I think the usage of the commend is correct...here is the error information.


h:\jcode>django-admin.py startproject mysite
Usage: django-admin.py subcommand [options] [args]

Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal output,
2=verbose output, 3=very verbose output
--settings=SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be
used.
--pythonpath=PYTHONPATH
A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
--traceback Print traceback on exception
--version show program's version number and exit
-h, --help show this help message and exit

Type 'django-admin.py help <subcommand>' for help on a specific subcommand.
 
Y

YetToCome

在 2013å¹´10月1日星期二UTC+8下åˆ1æ—¶47分05秒,YetToCome写é“:
I can't create a django project, I think the usage of the commend is correct...here is the error information.





h:\jcode>django-admin.py startproject mysite

Usage: django-admin.py subcommand [options] [args]



Options:

-v VERBOSITY, --verbosity=VERBOSITY

Verbosity level; 0=minimal output, 1=normal output,

2=verbose output, 3=very verbose output

--settings=SETTINGS The Python path to a settings module, e.g.

"myproject.settings.main". If this isn't provided, the

DJANGO_SETTINGS_MODULE environment variable will be

used.

--pythonpath=PYTHONPATH

A directory to add to the Python path, e.g.

"/home/djangoprojects/myproject".

--traceback Print traceback on exception

--version show program's version number and exit

-h, --help show this help message and exit



Type 'django-admin.py help <subcommand>' for help on a specific subcommand.

And what happened now...

h:\jcode>django-admin.py help
Type 'django-admin.py help' for usage.
 
Y

YetToCome

在 2013å¹´10月1日星期二UTC+8下åˆ2æ—¶54分53秒,YetToCome写é“:
在 2013å¹´10月1日星期二UTC+8下åˆ1æ—¶47分05秒,YetToCome写é“:
I can't create a django project, I think the usage of the commend is correct...here is the error information.
h:\jcode>django-admin.py startproject mysite
Usage: django-admin.py subcommand [options] [args]

-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normaloutput,
2=verbose output, 3=very verbose output
--settings=SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be
--pythonpath=PYTHONPATH

A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".

--traceback Print traceback on exception
--version show program's version number and exit
-h, --help show this help message and exit
Type 'django-admin.py help <subcommand>' for help on a specific subcommand.



And what happened now...



h:\jcode>django-admin.py help

Type 'django-admin.py help' for usage.

ok...i solve the problem, clean the Registry and reinstall python
 
J

Joel Goldstick

did you know there is a django mailing list/news group.


在 2013å¹´10月1日星期二UTC+8下åˆ2æ—¶54分53秒,YetToCome写é“:
在 2013å¹´10月1日星期二UTC+8下åˆ1æ—¶47分05秒,YetToCome写é“:
correct...here is the error information.
h:\jcode>django-admin.py startproject mysite
Usage: django-admin.py subcommand [options] [args]

-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal
output,
2=verbose output, 3=very verbose output

--settings=SETTINGS The Python path to a settings module, e.g.

"myproject.settings.main". If this isn't
provided, the
DJANGO_SETTINGS_MODULE environment variable
will be
A directory to add to the Python path, e.g.



--traceback Print traceback on exception

--version show program's version number and exit

-h, --help show this help message and exit



Type 'django-admin.py help <subcommand>' for help on a specific
subcommand.



And what happened now...



h:\jcode>django-admin.py help

Type 'django-admin.py help' for usage.

ok...i solve the problem, clean the Registry and reinstall python
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,591
Members
45,103
Latest member
VinaykumarnNevatia
Top