Re: [Django] #34317: wrong attribute naming in method BaseModelFormSet.save_existing

12 views
Skip to first unread message

Django

unread,
Feb 7, 2023, 5:23:32 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
--------------------------------------+------------------------------------
Reporter: Maxim Danilov | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Forms | Version: 4.1
Severity: Normal | Resolution:
Keywords: Formset, ModelFomset | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Carlton Gibson):

* stage: Unreviewed => Accepted


Comment:

Hey Maxim, OK, yes. Where it's called the argument is `obj`, so +1 to
making it consistent.
Want to make the PR?

Thanks.

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

Django

unread,
Feb 7, 2023, 5:55:53 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
--------------------------------------+------------------------------------
Reporter: Maxim Danilov | Owner: Bakdolot
Type: Cleanup/optimization | Status: assigned

Component: Forms | Version: 4.1
Severity: Normal | Resolution:
Keywords: Formset, ModelFomset | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Bakdolot):

* owner: nobody => Bakdolot
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:3>

Django

unread,
Feb 7, 2023, 6:35:34 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
--------------------------------------+------------------------------------
Reporter: Maxim Danilov | Owner: Bakdolot
Type: Cleanup/optimization | Status: assigned
Component: Forms | Version: 4.1
Severity: Normal | Resolution:
Keywords: Formset, ModelFomset | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Maxim Danilov):

Replying to [comment:2 Carlton Gibson]:


> Hey Maxim, OK, yes. Where it's called the argument is `obj`, so +1 to
making it consistent.
> Want to make the PR?
>
> Thanks.

Yes Carlton. I want to try to made it.

--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:4>

Django

unread,
Feb 7, 2023, 6:56:37 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
--------------------------------------+------------------------------------
Reporter: Maxim Danilov | Owner: Bakdolot
Type: Cleanup/optimization | Status: assigned
Component: Forms | Version: 4.1
Severity: Normal | Resolution:
Keywords: Formset, ModelFomset | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Bakdolot):

[https://github.com/django/django/pull/16529 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:5>

Django

unread,
Feb 7, 2023, 8:12:06 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
-------------------------------------+-------------------------------------

Reporter: Maxim Danilov | Owner: Bakdolot
Type: | Status: assigned
Cleanup/optimization |
Component: Forms | Version: dev
Severity: Normal | Resolution:
Keywords: Formset, | Triage Stage: Ready for
ModelFomset | checkin

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

* version: 4.1 => dev
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:6>

Django

unread,
Feb 7, 2023, 8:19:09 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
-------------------------------------+-------------------------------------
Reporter: Maxim Danilov | Owner: Bakdolot
Type: | Status: closed

Cleanup/optimization |
Component: Forms | Version: dev
Severity: Normal | Resolution: fixed

Keywords: Formset, | Triage Stage: Ready for
ModelFomset | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"5f3c7b7e1d059397e915bfa71409b49648b5d524" 5f3c7b7e]:
{{{
#!CommitTicketReference repository=""
revision="5f3c7b7e1d059397e915bfa71409b49648b5d524"
Fixed #34317 -- Renamed "instance" argument of
BaseModelFormSet.save_existing() method.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:7>

Django

unread,
Feb 7, 2023, 8:36:45 AM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
-------------------------------------+-------------------------------------
Reporter: Maxim Danilov | Owner: Bakdolot
Type: | Status: closed
Cleanup/optimization |
Component: Forms | Version: dev
Severity: Normal | Resolution: fixed
Keywords: Formset, | Triage Stage: Ready for
ModelFomset | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Maxim Danilov):

Replying to [comment:7 GitHub <noreply@…>]:


> In [changeset:"5f3c7b7e1d059397e915bfa71409b49648b5d524" 5f3c7b7e]:
> {{{
> #!CommitTicketReference repository=""
revision="5f3c7b7e1d059397e915bfa71409b49648b5d524"
> Fixed #34317 -- Renamed "instance" argument of
BaseModelFormSet.save_existing() method.
> }}}

Mariusz Felisiak was faster than me :*-(

Thank you.

--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:8>

Django

unread,
Feb 7, 2023, 1:15:23 PM2/7/23
to django-...@googlegroups.com
#34317: wrong attribute naming in method BaseModelFormSet.save_existing
-------------------------------------+-------------------------------------
Reporter: Maxim Danilov | Owner: Bakdolot
Type: | Status: closed
Cleanup/optimization |
Component: Forms | Version: dev
Severity: Normal | Resolution: fixed
Keywords: Formset, | Triage Stage: Ready for
ModelFomset | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

> Mariusz Felisiak was faster than me :*-(

Not me, I only merged PR prepared by Bakdolot.

--
Ticket URL: <https://code.djangoproject.com/ticket/34317#comment:9>

Reply all
Reply to author
Forward
0 new messages