[Django] #32440: Copy/Paste in documentation

12 views
Skip to first unread message

Django

unread,
Feb 12, 2021, 5:37:30 AM2/12/21
to django-...@googlegroups.com
#32440: Copy/Paste in documentation
------------------------------------------------+------------------------
Reporter: Eliaz Pitavy | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Apparently there is a copy/paste in the documentation here:
https://docs.djangoproject.com/en/3.1/ref/class-based-views/generic-
editing/#django.views.generic.edit.BaseUpdateView.get

The description of the get and the post method for the BaseUpdateView is
the same.

--
Ticket URL: <https://code.djangoproject.com/ticket/32440>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 12, 2021, 5:39:39 AM2/12/21
to django-...@googlegroups.com
#32440: Copy/Paste in documentation
-------------------------------------+-------------------------------------

Reporter: Eliaz Pitavy | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 3.1
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Eliaz Pitavy:

Old description:

> Apparently there is a copy/paste in the documentation here:
> https://docs.djangoproject.com/en/3.1/ref/class-based-views/generic-
> editing/#django.views.generic.edit.BaseUpdateView.get
>
> The description of the get and the post method for the BaseUpdateView is
> the same.

New description:

Apparently there is a copy/paste in the documentation here:
https://docs.djangoproject.com/en/3.1/ref/class-based-views/generic-
editing/#django.views.generic.edit.BaseUpdateView.get

The description of the get and the post method for the BaseUpdateView is

the same. If it is not an error, maybe more details would be useful.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/32440#comment:1>

Django

unread,
Feb 12, 2021, 5:50:51 AM2/12/21
to django-...@googlegroups.com
#32440: Copy/Paste in documentation
-------------------------------------+-------------------------------------
Reporter: Eliaz Pitavy | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 3.1
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

This is not an error, both methods do the same, see
[https://github.com/django/django/blob/e412b288455dd3ea6f1d65c8ec5d01751e489976/django/views/generic/edit.py#L188-L194
BaseUpdateView]. What kind of details are you expecting? `BaseUpdateView`
is only one of many ancestors which `UpdateView` inherits, it is not
intended to be used directly.

--
Ticket URL: <https://code.djangoproject.com/ticket/32440#comment:2>

Reply all
Reply to author
Forward
0 new messages