I'm running the Django webserver locally, and I want be able to enter www.my-site.dev or username.my-site.dev and have that map to my Django application.
I've seen a lot of solutions for Apache, and have tried to add the following to my /etc/hosts file, assuming the Django server would also check /etc/hosts.
127.0.0.1:8000 www.my-site.dev
127.0.0.1:8000 username.my-site.dev