On Sun, May 1, 2011 at 6:32 PM, Daisy <omnia.zayed@gmail.com> wrote:
yes.I have installed it with the setuptools (python setup.py install)
is that affect in my issue?
On Apr 30, 5:25 pm, Yongning Liang <liangyongn...@gmail.com> wrote:
> if you tried the command django-admin.py startproject mysite and it output
> the usage, it mean the PATH of Python and django-admin.py is correct, maybe
> you type a wrong subcommand.
> BTW, are you install Django with setuptools(python setup.py install)?
>
>
>
>
>
>
>
--> On Sat, Apr 30, 2011 at 10:16 PM, Daisy <omnia.za...@gmail.com> wrote:
> > I have just did what you said and the result was (no project created)
> > and the output was:
> > --------------------------------------------
>
> > Usage: django-admin.py subcommand [options] [args]
>
> > Options:
> > -v VERBOSITY, --verbosity=VERBOSITY
> > Verbosity level; 0=minimal output, 1=normal
> > output,
> > 2=all 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.
>
> > Available subcommands:
> > cleanup
> > compilemessages
> > createcachetable
> > dbshell
> > diffsettings
> > dumpdata
> > flush
> > inspectdb
> > loaddata
> > makemessages
> > reset
> > runfcgi
> > runserver
> > shell
> > sql
> > sqlall
> > sqlclear
> > sqlcustom
> > sqlflush
> > sqlindexes
> > sqlinitialdata
> > sqlreset
> > sqlsequencereset
> > startapp
> > startproject
> > syncdb
> > test
> > testserver
> > validate
> > --------------------------------------------------------
>
> > while surfing the net I found this solution, write in the console
>
> > python C:\Python27\Scripts\django-admin.py startproject mysite
>
> > I don't know if there is another solution instead of writing the above
> > line every time or not.
>
> > thanks for help.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment