Add to the documentation note about AUTH_USER_MODEL
|Reported by:||dpravdin||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It's problem, that if I write the User model striсtly for documentation, I will get a validation error:
auth.user: Model has been swapped out for 'myapp.MyUser' which has not been installed or is abstract.
It's not enough just to set
AUTH_USER_MODEL = 'myapp.MyUser'
Beside that it's necessary add the 'myapp' in INSTALLED_APPS, but it's not specified in the documentation.
Sorry, if it's specified but I didn't find it :)
Change History (4)
comment:1 Changed 2 years ago by jordanmessina
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 2 years ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed