Opened 4 weeks ago

Last modified 3 weeks ago

#35931 assigned Cleanup/optimization

Document fields and methods of the FlatPage model

Reported by: Baptiste Mispelon Owned by: Karol Alvarado
Component: Documentation Version: 5.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: yes UI/UX: no

Description

The reference documentation for the flatpages.FlatPage model [1] says it's a "standard Django model", but it seems to be missing documentation for which fields and methods are defined on this model. There's a [source] link so the information isn't too hard to find, but I think a proper reference documentation would be better.

Compare for example with the documenation for contrib.User [2] which is a lot more complete.

[1] https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/#django.contrib.flatpages.models.FlatPage
[2] https://docs.djangoproject.com/en/dev/ref/contrib/auth/#django.contrib.auth.models.User

Change History (5)

comment:1 by Tim Graham, 4 weeks ago

Triage Stage: UnreviewedAccepted

comment:2 by Karol Alvarado, 4 weeks ago

Owner: set to Karol Alvarado
Status: newassigned

comment:3 by Karol Alvarado, 3 weeks ago

Has patch: set

I made a PR with a detailed FlatPage model reference https://github.com/django/django/pull/18867

comment:4 by Brock Smickley, 3 weeks ago

Triage Stage: AcceptedReady for checkin

comment:5 by Sarah Boyce, 3 weeks ago

Patch needs improvement: set
Triage Stage: Ready for checkinAccepted
Note: See TracTickets for help on using tickets.
Back to Top