datetime.py doesn't quite crash now

When run from outside a proper Django project.