Starting a poll

24 views
Skip to first unread message

Caleb Bryson

unread,
May 24, 2018, 1:06:00 PM5/24/18
to Django users
So I am follow the instructions on the django site to make a poll. I am at the current step where you run the server and everything went fine when i typed in the command. But now it is just there at saying "GET /favicon.ico HTTP/1.1" 404 1977 on the last command line. I was wondering should i wait, or close the cmd prompt and open a new one to continue the steps, or quit the server with CTRL-BREAK(not sure which button represents break on the key board)?

Jorge Gimeno

unread,
May 24, 2018, 5:15:24 PM5/24/18
to django...@googlegroups.com
On Thu, May 24, 2018, 10:06 AM Caleb Bryson <cbrys...@gmail.com> wrote:
So I am follow the instructions on the django site to make a poll. I am at the current step where you run the server and everything went fine when i typed in the command. But now it is just there at saying "GET /favicon.ico HTTP/1.1" 404 1977 on the last command line. I was wondering should i wait, or close the cmd prompt and open a new one to continue the steps, or quit the server with CTRL-BREAK(not sure which button represents break on the key board)?

--
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.
To post to this group, send email to 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/e500ed8f-e5b4-4d3b-aced-29f33dfeb7ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout


Caleb,

If I recall correctly, Ctrl-C stops the server.  Django dpes know when some changes are made, but unless I know for sure I always stop and restart the server.

James Farris

unread,
May 24, 2018, 9:44:18 PM5/24/18
to django...@googlegroups.com
If you open the app once the server is started by going to 127.0.0.1:8000 is it loading the website or are you getting a 404 error in the browser?

I see the favicon 404 error all the time, but it doesn’t halt my site.  It’s just django looking for a favicon. That shouldn’t break anything. 

Another 404 you might see is django looking for a robots.txt file. This is normal until you have these setup. 

Fidel Leon

unread,
May 25, 2018, 8:39:25 AM5/25/18
to django...@googlegroups.com
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".

El día 25 de mayo de 2018 a las 3:43:19, James Farris (jamesa...@gmail.com) escrito:

Reply all
Reply to author
Forward
0 new messages