praekelt/django-photologue — pull request #3 by hermanschaaf (2012-06-18 08:31:12+00:00)
Title: Simple fix to allow for timezone-enabled models in Django 1.4+

Simply changed the import of datetime to a try-catch for django's timezone utils, and called now() in the code accordingly, instead of datetime.now(). Ran tests for USE_TZ=False and USE_TZ=True, and they passed.