ecometrica/django-multisite — pull request #5 by ceol (2014-07-28 15:45:57+00:00)
Title: Update get_development_alias in middleware.py

get_development_alias was not catching when the host was 127.0.0.1. Instead of assuming a dev environment will only be ran using a certain hostname format, get_development_alias should just use settings.DEBUG to determine if it's a development environment.