Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #55161 > unrolled thread

I have a problem when creating a django project

Started byYetToCome <wjw15129@gmail.com>
First post2013-09-30 22:47 -0700
Last post2013-10-01 09:25 -0400
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  I have a problem when creating a django project YetToCome <wjw15129@gmail.com> - 2013-09-30 22:47 -0700
    Re: I have a problem when creating a django project YetToCome <wjw15129@gmail.com> - 2013-09-30 23:54 -0700
      Re: I have a problem when creating a django project YetToCome <wjw15129@gmail.com> - 2013-10-01 00:24 -0700
        Re: I have a problem when creating a django project Joel Goldstick <joel.goldstick@gmail.com> - 2013-10-01 09:25 -0400

#55161 — I have a problem when creating a django project

FromYetToCome <wjw15129@gmail.com>
Date2013-09-30 22:47 -0700
SubjectI have a problem when creating a django project
Message-ID<59215b57-a6a6-436b-aa5e-6b437612b3e9@googlegroups.com>
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.

[toc] | [next] | [standalone]


#55163

FromYetToCome <wjw15129@gmail.com>
Date2013-09-30 23:54 -0700
Message-ID<8d55b6e7-a7ff-4df8-be4a-bcf1d2d9b5c0@googlegroups.com>
In reply to#55161
在 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.

[toc] | [prev] | [next] | [standalone]


#55165

FromYetToCome <wjw15129@gmail.com>
Date2013-10-01 00:24 -0700
Message-ID<12a4d429-c4d6-4f27-a8eb-cc88cf70cb8c@googlegroups.com>
In reply to#55163
在 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]
> 
> > 
> 
> > 
> 
> > 
> 
> > 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.

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

[toc] | [prev] | [next] | [standalone]


#55194

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-10-01 09:25 -0400
Message-ID<mailman.549.1380633945.18130.python-list@python.org>
In reply to#55165

[Multipart message — attachments visible in raw view] — view raw

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


On Tue, Oct 1, 2013 at 3:24 AM, YetToCome <wjw15129@gmail.com> wrote:

> 在 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]
> >
> > >
> >
> > >
> >
> > >
> >
> > > 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.
>
> ok...i solve the problem, clean the Registry and reinstall python
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web