Django channels with python background tasks

2018-05-25 Thread Sourabh Jaiswal
Hi, I am writing a python based application(CLI Back End) which does telnet to some network components and gets some data. It saves the data in sqlite db. For this application I am writing Django based frond end. Which will start the CLI app and monitor it. For communication between the CLI

Re: Page not found (404).Please check i am unable to run server.It is showing error

2018-05-25 Thread Fidel Leon
You may not realize it, but that's how Django works. >From your server log: *[25/May/2018 22:44:15] "GET /polls/ HTTP/1.1" 200 166* You tried to open http://127.0.0.1:8000/polls/ and it WORKED (status 200) *[25/May/2018 22:44:18] "GET /polls/1/ HTTP/1.1" 200 461* You tried to open http://127.0.

Re: Page not found (404).Please check i am unable to run server.It is showing error

2018-05-25 Thread Avitab Ayan Sarmah
It should prompt a page for Question and last published On Fri 25 May, 2018, 11:08 PM Daniel Hepper, wrote: > What would you expect the server to display for that URL? > > — Daniel > > Am 25.05.2018 um 19:18 schrieb Avitab Ayan Sarmah : > > In my windoes powershell: > > PS C:\Users\AVITABAYAN\my

Re: Page not found (404).Please check i am unable to run server.It is showing error

2018-05-25 Thread Daniel Hepper
What would you expect the server to display for that URL? — Daniel > Am 25.05.2018 um 19:18 schrieb Avitab Ayan Sarmah : > > In my windoes powershell: > > PS C:\Users\AVITABAYAN\mysite> python manage.py runserver > Performing system checks... > > System check identified no issues (0 silenced).

Page not found (404).Please check i am unable to run server.It is showing error

2018-05-25 Thread Avitab Ayan Sarmah
In my windoes powershell: PS C:\Users\AVITABAYAN\mysite> python manage.py runserver Performing system checks... System check identified no issues (0 silenced). May 25, 2018 - 22:42:50 Django version 2.0.1, using settings 'mysite.settings' Starting development server at http://127.0.0.1:8000/ Quit

Re: Starting a poll

2018-05-25 Thread Fidel Leon
Actually, such 404 message is not Django's fault. Your browser is trying to get the favicon.ico on its own for the browser's tab decorations. Such file is not provided neither needed by Django. If you try to open the server url using something like curl or httpie, you won't see the "error". Fidel