mpany')),
('user',
models.OneToOneField(on_delete=django.db.models.deletion.CASCADE,
related_name='userprofile', to=settings.AUTH_USER_MODEL)),
],
options={
'verbose_name': 'user profile',
itial wouldn't work due to lots of other
models looking for settings.AUTH_USER_MODEL which Django couldn't find
in the company app so I finessed my own fake migrations. That also
seemed to work and the job seemed done.
BUT manage.py test now fails with "Related model 'company.
due to lots of other models
looking for settings.AUTH_USER_MODEL which Django couldn't find in the
company app so I finessed my own fake migrations. That also seemed to
work and the job seemed done.
BUT manage.py test now fails with "Related model 'company.user' cannot
be resolved"
3 matches
Mail list logo