Support for custom User model for Django>=1.5

User conditions don't work in apps using Django 1.5's cusom AUTH_USER_MODEL . This pull requests uses get_user_model() instead of django.auth's User for Django>=1.5.