INSTALLED_APPS = ('django.contrib.auth', 'django.contrib.contenttypes',
    'django.contrib.sessions', 'django.contrib.staticfiles',
    'django.contrib.admin', 'login', 'forms')
AUTH_USER_MODEL = 'login.User'
Custom user model in django