Code formatting
Using the django default timezone for localhost instead of an arbitrary ip lookup.