Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#23314 closed Cleanup/optimization (fixed)

Docs should stay consistent and only recommend custom users for custom authentication and authorization, not profile data

Reported by: Gavin Wahl Owned by: nobody
Component: Documentation Version:
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The docs mostly recommend using the profile pattern for profile data and only using a custom user for custom authentication and authorization:

<https://docs.djangoproject.com/en/dev/topics/auth/customizing/#extending-the-existing-user-model>

<https://docs.djangoproject.com/en/dev/topics/auth/customizing/#specifying-a-custom-user-model>

However, this paragraph is consistent:

<https://docs.djangoproject.com/en/dev/topics/auth/customizing/#extending-django-s-default-user>

It should recommend using a OneToOneField for profile data, like the rest of the docs.

Attachments (1)

23314.diff (1.4 KB ) - added by Tim Graham 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Tim Graham, 10 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

by Tim Graham, 10 years ago

Attachment: 23314.diff added

comment:2 by Tim Graham, 10 years ago

Has patch: set

comment:3 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 3569536491f16c9d112959d23cf3c18417063c54:

Fixed #23314 -- Tempered recommendation of storing profile data on custom user.

Thanks gavinwahl for the report.

comment:4 by Tim Graham <timograham@…>, 10 years ago

In 18f25efc9ec18e6d5c0ceada2b0349b7117beb77:

[1.6.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.

Thanks gavinwahl for the report.

Backport of 3569536491 from master

comment:5 by Tim Graham <timograham@…>, 10 years ago

In b3f6a0f5a1b88a9a96080531b7391f6a3a0ce5aa:

[1.7.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.

Thanks gavinwahl for the report.

Backport of 3569536491 from master

Note: See TracTickets for help on using tickets.
Back to Top