Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add some support to Signup Application for Django 1.4 Timezones #40

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

dstufft commented Jan 22, 2012

This change will use django.utils.timezones.now() instead of datetime.datetime.now() when it is available.

django.utils.timezone.now() will return a naive datetime when USE_TZ = False and an aware datetime when USE_TZ = True.

Owner

brosner commented Mar 20, 2012

This has been done in django-user-accounts (the future of Pinax account app)

@brosner brosner closed this Mar 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment