Opened 18 months ago
Last modified 8 days ago
#35768 assigned New feature
Add a User Profile How-To to docs
| Reported by: | Carlton Gibson | Owned by: | Abhimanyu Singh Negi |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| 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
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_namefields 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 (5)
comment:1 by , 18 months ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Version: | 5.0 → dev |
follow-up: 3 comment:2 by , 18 months ago
| Summary: | Add a Profile How-To → Add a User Profile How-To to docs |
|---|
follow-up: 4 comment:3 by , 10 days ago
Replying to Natalia Bidart:
Hi, I see the last owner hasn't made any progress on this ticket in the past 17 months, do you mind assigning the issue to me?
follow-up: 5 comment:4 by , 8 days ago
| Owner: | changed from to |
|---|
Replying to Abhimanyu Singh Negi:
Replying to Natalia Bidart:
Hi, I see the last owner hasn't made any progress on this ticket in the past 17 months, do you mind assigning the issue to me?
Raised a pr for this ticket(https://github.com/django/django/pull/20721), kindly review.
comment:5 by , 8 days ago
| Has patch: | set |
|---|
Replying to Abhimanyu Singh Negi:
Raised a pr for this ticket(https://github.com/django/django/pull/20721), kindly review.
Hello, thank you for the PR. Please refer to the contributing docs in how to update the ticket flags so the PR appears in the review queue. I'll set it now but it would be very helpful if you would update the flags yourself in the future. Thanks again!
Gladly accepting this!
Also TIL (not really today but very recently) about template fragment caching. Looking forward to reading this!