- Use the Django 1.5 get_user_model function if it exists in Django, i.e. 1.5 and above.