according documentation
http://docs.djangoproject.com/en/dev/ref/django-admin/?from=olddocs
Generally, when working on a single Django project, it’s easier to use
manage.py. Use django-admin.py with DJANGO_SETTINGS_MODULE, or the
--settings command line option, if you need to switch between multiple
Django settings files.
.

On 27 August 2010 15:04, bruno desthuilliers
<bruno.desthuilli...@gmail.com>wrote:

> On 27 août, 05:51, bluearth <barkah.yu...@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to have multiple configuration files for my project as
> > described inhttp://www.djangobook.com/en/2.0/chapter12/.
> >
> > I always get the following when issuing administrative commands (for
> > example):
> >
> > # ./manage.py --settings=harmony.settings_dev syncdb
> > Unknown command: '--settings'
> > Type 'django-admin help' for usage.
> > #
> >
> > Seems that only --help and --version works as expected. others give me
> > "unknown command"
> >
> > I'm not sure if i have missed something here.
>
> First point, "--settings" is an option, not a command. Second point,
> the correct usage (as documented) is "manage.py subcommand [options]
> [args]".
>
> IOW, you want:
> # ./manage.py syncdb --settings=harmony.settings_dev
>
> HTH
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
Best Regards,
Mila

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to