Skip to content

Instantly share code, notes, and snippets.

View gist:a6578b42fcc3b6ad5a84
mattharley / gist:8b49c505db26700762ae
Last active Aug 29, 2015
Django and Timezones Quick Reference Guide
View gist:8b49c505db26700762ae

Django Timezone Quick Reference

Timezones hurtz my brains

import datetime
import pytz

from django.utils import timezone

# Let's be in Perth time
mattharley / gist:a83ca60eaa0deae3b832
Last active Aug 29, 2015
Build Geos and Collectstatic
View gist:a83ca60eaa0deae3b832

Why (over an IDE)

  • Speed
  • Learn once - swiss army knife

Key Features

  • Extensibility
  • Linting
  • Searching
  • Syntax Highlighting
  • Snippets