django 1.5 user model

from django.contrib.auth import get_user_model
User = get_user_model()

settings.AUTH_USER_MODEL