What i am trying to do is run python script(client side) on another computer which is on same network with my computer,then receive data from another computer with the django(which is running on my computer(server side)).i am using built-in "runserver".
The error comes when i runserver and send data from another computer to django,then i get this "code 400, message Bad request syntax ( data from another computer)" On Thu, May 7, 2015 at 3:28 PM, Tom Evans <tevans...@googlemail.com> wrote: > On Thu, May 7, 2015 at 12:48 PM, steve malise <stviasw...@gmail.com> > wrote: > > where can i write web server? > > > > Why do you want to? > > Django is a web application, it is hosted inside webservers, typically > using WSGI. Typically, you would use one of the many webservers that > can host wsgi applications - nginx, apache+mod_wsgi, uwsgi, chaussette > and many many others. You can also use the built-in "runserver" > webserver for development. > > If you want to write your own webserver for your own edification, the > wsgiref library is built in to python to provide a reference > implementation. > > Cheers > > Tom > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAFHbX1LKc_%2BBW_8JakpFLPOiZ%2BM07YwemFTZ1AH%2Bmk_TH8j42g%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwh%3D0xQumBtV0BkWj0pqDdy8v7ZKyGU4oh9m2uXkuWoJJCbEw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.