﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19495	Tests of auth app are breaking if my AUTH_USER_MODEL is 'auth.CustomUser'	germanofronza	nobody	"I have an auth app of my own and my custom user model is also called 'auth.CustomUser'. There's a conflict with the fixture 'contrib/auth/fixtures/custom_user.json'. 

'''The test command line is:'''
$ ./manage.py test auth
Creating test database for alias 'default'...
....sssssssssssssssssssssssssssssssssE....sssssss.sssssssssssssssssssss.ssssssssssssssssssssssssssssssss...s.ssssssssssssssssssssssss..s............ssssssssssssssssssssss
======================================================================
ERROR: test_confirm_valid_custom_user (django.contrib.auth.tests.views.CustomUserPasswordResetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/test/testcases.py"", line 256, in __call__
    self._pre_setup()
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/test/utils.py"", line 201, in _pre_setup
    original_pre_setup(innerself)
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/test/utils.py"", line 201, in _pre_setup
    original_pre_setup(innerself)
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/test/testcases.py"", line 450, in _pre_setup
    self._fixture_setup()
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/test/testcases.py"", line 822, in _fixture_setup
    'skip_validation': True,
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py"", line 161, in call_command
    return klass.execute(*args, **defaults)
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/core/management/base.py"", line 252, in execute
    output = self.handle(*args, **options)
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/core/management/commands/loaddata.py"", line 187, in handle
    for obj in objects:
  File ""/home/vagrant/venv/local/lib/python2.7/site-packages/django/core/serializers/json.py"", line 75, in Deserializer
    raise DeserializationError(e)
DeserializationError: Problem installing fixture '/home/vagrant/venv/local/lib/python2.7/site-packages/django/contrib/auth/fixtures/custom_user.json': CustomUser has no field named u'date_of_birth'"	Bug	closed	contrib.auth	1.5-beta-1	Normal	invalid			Unreviewed	0	0	0	0	0	0
