Opened 2 days ago

Last modified 2 days ago

#35768 assigned New feature

Add a User Profile How-To to docs

Reported by: Carlton Gibson Owned by: William S. Vincent
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Following the forum discussion here, add a Profile How-To showing best practices for a profile model related to the User model.

  • Show a best-practice model — with decent name fields.
  • Be clear to tell folks that the existing first_name/last_name fields are outdated (at best) and say it’s OK to just ignore them.
  • Show creating the profile instance — with a signal, inline, or using get_or_create()
  • Give an introduction to template fragment caching.

Change History (2)

comment:1 by Natalia Bidart, 2 days ago

Triage Stage: UnreviewedAccepted
Version: 5.0dev

Gladly accepting this!

Also TIL (not really today but very recently) about template fragment caching. Looking forward to reading this!

comment:2 by Natalia Bidart, 2 days ago

Summary: Add a Profile How-ToAdd a User Profile How-To to docs
Note: See TracTickets for help on using tickets.
Back to Top