PacktPublishing / Django-4-by-example

Django 4 by example (4th Edition) published by Packt
https://djangobyexample.com/
MIT License
818 stars 461 forks source link

`127.0.0.1 mysite.com` in hosts isn't good recomendation #58

Open maskalev opened 11 months ago

maskalev commented 11 months ago

It seems that using 127.0.0.1 mysite.com in hosts file isn't good idea, because mysite.com is real site. In my opinion better use something ugly, but understandable for the developer, for example, <your_computer_name>.com. In any case, it is recommended to check the potential address before using it in hosts file.