Django-extra-views

Latest version: v0.14.0

Safety actively analyzes 621854 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.63.7

======== ==========

- Added ``SuccessMessageMixin`` and ``FormSetSuccessMessageMixin``.
- ``CreateWithInlinesView`` and ``UpdateWithInlinesView`` now call ``self.form_valid``
method within ``self.forms_valid``.
- Revert ``view.object`` back to it's original value from the GET request if
validation fails for the inline formsets in ``CreateWithInlinesView`` and
``UpdateWithInlinesview``.
- Added support for Django 3.0.

3.53.7

======== ==========

Changes:
~~~~~~~~
- Removed setting of ``BaseInlineFormSetMixin.formset_class`` and
``GenericInlineFormSetMixin.formset_class`` so that ``formset`` can be set in
``factory_kwargs`` instead.
- Removed ``ModelFormSetMixin.get_context_data`` and
``BaseInlineFormSetMixin.get_context_data`` as this code was duplicated from
Django's ``MultipleObjectMixin`` and ``SingleObjectMixin`` respectively.
- Renamed ``BaseFormSetMixin`` to ``BaseFormSetFactory``.
- Renamed ``BaseInlineFormSetMixin`` to ``BaseInlineFormSetFactory``.
- Renamed ``InlineFormSet`` to ``InlineFormSetFactory``.
- Renamed ``BaseGenericInlineFormSetMixin`` to ``BaseGenericInlineFormSetFactory``.
- Renamed ``GenericInlineFormSet`` to ``GenericInlineFormSetFactory``.

All renamed classes will be removed in a future release.

3.43.6

======== ==========

Backwards-incompatible changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Dropped support for Django 1.7–1.10.
- Removed support for factory kwargs ``extra``, ``max_num``, ``can_order``,
``can_delete``, ``ct_field``, ``formfield_callback``, ``fk_name``,
``widgets``, ``ct_fk_field`` being set on ``BaseFormSetMixin`` and its
subclasses. Use ``BaseFormSetMixin.factory_kwargs`` instead.
- Removed support for formset_kwarg ``save_as_new`` being set on
``BaseInlineFormSetMixin`` and its subclasses. Use
``BaseInlineFormSetMixin.formset_kwargs`` instead.
- Removed support for ``get_extra_form_kwargs``. This can be set in the
dictionary key ``form_kwargs`` in ``BaseFormSetMixin.formset_kwargs`` instead.

3.8

======== ==========

- Removed support for Python 2.7.
- Added support for Python 3.8 and Django 3.1.
- Removed the following classes (use the class in parentheses instead):

- ``BaseFormSetMixin`` (use ``BaseFormSetFactory``).
- ``BaseInlineFormSetMixin`` (use ``BaseInlineFormSetFactory``).
- ``InlineFormSet`` (use ``InlineFormSetFactory``).
- ``BaseGenericInlineFormSetMixin`` (use ``BaseGenericInlineFormSetFactory``).
- ``GenericInlineFormSet`` (use ``GenericInlineFormSetFactory``).

3.5

3.4

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.