how do I .............?

26 views
Skip to first unread message

Steve Burrus

unread,
Jan 13, 2016, 6:43:50 PM1/13/16
to Django users
how do I connmect to the Django server on the command line? 

Fred Stluka

unread,
Jan 13, 2016, 6:48:04 PM1/13/16
to django...@googlegroups.com
python manage.py shell

--Fred
------------------------------------------------------------------------
Fred Stluka -- mailto:fr...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
------------------------------------------------------------------------
On 1/13/16 1:43 PM, Steve Burrus wrote:
> how do I connmect to the Django server on the command line?
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bb769cd8-8f1a-41e2-84cb-20e5f026b715%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bb769cd8-8f1a-41e2-84cb-20e5f026b715%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Tim Chase

unread,
Jan 13, 2016, 8:01:29 PM1/13/16
to django...@googlegroups.com
On 2016-01-13 10:43, Steve Burrus wrote:
> how do I connmect to the Django server on the command line?

You can use a command-line browser:

lynx http://localhost:8000
links http://localhost:8000
elinks http://localhost:8000
links2 http://localhost:8000
w3m http://localhost:8000
edbrowse http://localhost:8000

Most of those take a "-dump" option to format the output HTML as text
and dump it to stdout.

-tkc


Reply all
Reply to author
Forward
0 new messages