Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for Django 1.5 custom user model #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pdc
Copy link

@pdc pdc commented Oct 9, 2013

The main differences here are that it uses the new get_user_model method to find the project’s user model, and also uses django.utils.timezone.now in preference to datetime.now, avoiding annoying complaints about naïve timestamps.

I don’t know how to make a South migration work with a configurable user model so I ended up punting on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant