Doesn't work.. > Error: Usage is runserver [optional port number, or ipaddr:port]
And if I do the opposite: $: python manage.py runserver --settings=settings_dev -- Same problem comes back. On Oct 19, 12:52 pm, James Pyrich <[email protected]> wrote: > It might be attempting to interpret --settings as a Python option. Try > the following: > > $: python manage.py runserver -- --settings=settings_dev > > Any Python-specific settings go before the double-dash, etc., etc. > > On 10/19/2011 12:11 PM, h3 wrote: > > > > > > > > > I like to use IPython for debugging when developping, but it breaks if > > I use the --settings argument.. > > > So if I do this: > > > $: python manage.py runserver --settings=settings_dev > > > The server will run, but when IPShellEmbed is invoked I get this > > error: > > >> Error in Arguments: "Illegal option '--settings=settings_dev'" > > When I do the same without the --settings=settings_dev everything > > works as expected.. > > > Any idea how I could workaround this ? > > > Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

