[Django] #35768: Add a Profile How-To

4 views
Skip to first unread message

Django

unread,
Sep 16, 2024, 12:21:29 PM9/16/24
to django-...@googlegroups.com
#35768: Add a Profile How-To
-------------------------------------+-------------------------------------
Reporter: Carlton | Owner: William S. Vincent
Gibson |
Type: New | Status: assigned
feature |
Component: | Version: 5.0
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Following [https://forum.djangoproject.com/t/what-does-the-community-
think-to-carltons-take-on-auth-user/34672 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.
--
Ticket URL: <https://code.djangoproject.com/ticket/35768>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 16, 2024, 12:30:10 PM9/16/24
to django-...@googlegroups.com
#35768: Add a Profile How-To
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: William
| S. Vincent
Type: New feature | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

* stage: Unreviewed => Accepted
* version: 5.0 => dev

Comment:

Gladly accepting this!

Also TIL (not really today but very recently) about template fragment
caching. Looking forward to reading this!
--
Ticket URL: <https://code.djangoproject.com/ticket/35768#comment:1>
Reply all
Reply to author
Forward
0 new messages