Skip to content
loading...
Discussion
markdown guide
 

127.0.0.1:8000/ is your golden address when dealing with Django.

Do not use www prefix!

If your browser is too smart, just use 127.0.0.1:8000/ with http protocol.

 

I use only 127.0.0.1:8000 but error is occur with Message "127.0.0.1:8000 server IP address could not be found".

 

www is still there. At least judging from what you keep posting. Try

http://127.0.0.1:8000

Some browsers (chrome) may change the address after inserting it without protocol indication.

www. Is automatically occur. I try both 127.0.0.1:8000 or 127.0.0.1:8000
But still same problem occur.

You need to use http or try a different browser if you can't figure it out.

Have you run your app?

python manage.py runserver

If so, you should see the address where django is being served.

Hello Pavel,
I changed my Web browser chrome to Opera. It's working. Thanks for Helping

How to fix this error:

"You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 127.0.0.1:8000/contact/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings."

 
Classic DEV Post from Jul 26 '19

🎩 JavaScript Enhanced Scss mixins! 🎩 concepts explained

In the next post we are going to explore CSS @apply to supercharge what we talk about here....

Shailesh Waghole profile image
Working As a Python Automation Engineer