Ticket #16138: formmixin_change_documented.diff

File formmixin_change_documented.diff, 605 bytes (added by wilfred@…, 13 years ago)

documenting behaviour change in the docs

  • docs/ref/class-based-views.txt

    diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt
    index 3c7f70f..b89416a 100644
    a b FormMixin  
    479479        provide an implementation of :meth:`.form_valid` and
    480480        :meth:`.form_invalid`.
    481481
     482    .. admonition:: Changed in 1.4
     483
     484        Django 1.3 treated :attr:`.initial` as a class variable, so it
     485        was shared between all :class:`FormMixin` instances. Later
     486        versions treat intial as an instance variable.
     487
    482488ModelFormMixin
    483489~~~~~~~~~~~~~~
    484490.. class:: ModelFormMixin()
Back to Top