Django-extra-views

Latest version: v0.15.0

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

Scan your dependencies

Page 1 of 4

3.83.9

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.12

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

- Added support for Django 4.0, 4.1, 4.2, 5.0, 5.1 and Python 3.10, 3.11, 3.12.
- Removed support for Django 2.1 and Python 3.5.

3.11

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.