Skip to content

Changes for Django 1.5 custom user model#7

Open
pdc wants to merge 3 commits intoailabs:masterfrom
photocrowd:master
Open

Changes for Django 1.5 custom user model#7
pdc wants to merge 3 commits intoailabs:masterfrom
photocrowd:master

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