--
Ticket URL: <https://code.djangoproject.com/ticket/24682>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> The form_valid method of [https://docs.djangoproject.com/en/1.8/ref
> /class-based-views/flattened-index/#createview CreateView] is pointing
> [https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
> editing/#django.views.generic.edit.FormMixin.form_valid here]. This is
> FormMixin, however I believe it should be point
> [https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
> editing/#django.views.generic.edit.ModelFormMixin.form_valid here], the
> ModelFormMixin implementation of is_valid.
New description:
The form_valid method of [https://docs.djangoproject.com/en/1.8/ref/class-
based-views/flattened-index/#createview CreateView] is pointing
[https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
editing/#django.views.generic.edit.FormMixin.form_valid here]. This is
FormMixin, however I believe it should be point
[https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
editing/#django.views.generic.edit.ModelFormMixin.form_valid here], the
ModelFormMixin implementation of form_valid.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:1>
Old description:
> The form_valid method of [https://docs.djangoproject.com/en/1.8/ref
> /class-based-views/flattened-index/#createview CreateView] is pointing
> [https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
> editing/#django.views.generic.edit.FormMixin.form_valid here]. This is
> FormMixin, however I believe it should be point
> [https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
> editing/#django.views.generic.edit.ModelFormMixin.form_valid here], the
> ModelFormMixin implementation of form_valid.
New description:
The form_valid method of [https://docs.djangoproject.com/en/1.8/ref/class-
based-views/flattened-index/#createview CreateView] is pointing
[https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
editing/#django.views.generic.edit.FormMixin.form_valid here]. This is
FormMixin, however I believe it should be point
[https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-
editing/#django.views.generic.edit.ModelFormMixin.form_valid here], the
ModelFormMixin implementation of form_valid.
The same applies to UpdateView.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:2>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:3>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:4>
Comment (by speg):
See PR: https://github.com/django/django/pull/4542
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:5>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"258d81acbee252693569e3d4e5f95d3dfe3b0638" 258d81a]:
{{{
#!CommitTicketReference repository=""
revision="258d81acbee252693569e3d4e5f95d3dfe3b0638"
Fixed #24682 -- Corrected a few generic editing view links
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"2329ca969f81309bd3d15da55f25f8e1bee3122d" 2329ca9]:
{{{
#!CommitTicketReference repository=""
revision="2329ca969f81309bd3d15da55f25f8e1bee3122d"
[1.8.x] Fixed #24682 -- Corrected a few generic editing view links
Backport of 258d81acbee252693569e3d4e5f95d3dfe3b0638 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24682#comment:7>