Supported Versions:
| Python | Django |
|---|---|
| 3.8-3.9 | 2.2–4.2 |
| 3.10 | 3.2-5.2 |
| 3.11 | 4.1-5.2 |
| 3.12 | 4.2-5.2 |
| 3.13 | 5.1-5.2 |
- Added form_kwargs and get_form_kwargs() to all BaseFormSetFactory classes for ease of use.
- Removed official support for Python 3.6 and 3.7, added Python 3.13.
- Added support for Django 5.2.
Supported Versions:
| Python | Django |
|---|---|
| 3.6-3.7 | 2.2–3.2 |
| 3.8-3.9 | 2.2–4.2 |
| 3.10 | 3.2-5.1 |
| 3.11 | 4.1-5.1 |
| 3.12 | 4.2-5.1 |
- 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.
Supported Versions:
| Python | Django |
|---|---|
| 3.5 | 2.1–2.2 |
| 3.6-3.7 | 2.1–3.1 |
| 3.8 | 2.2–3.1 |
- 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(useBaseFormSetFactory).BaseInlineFormSetMixin(useBaseInlineFormSetFactory).InlineFormSet(useInlineFormSetFactory).BaseGenericInlineFormSetMixin(useBaseGenericInlineFormSetFactory).GenericInlineFormSet(useGenericInlineFormSetFactory).
Supported Versions:
| Python | Django |
|---|---|
| 2.7 | 1.11 |
| 3.5 | 1.11–2.2 |
| 3.6-3.7 | 1.11–3.0 |
- Added
SuccessMessageMixinandFormSetSuccessMessageMixin. CreateWithInlinesViewandUpdateWithInlinesViewnow callself.form_validmethod withinself.forms_valid.- Revert
view.objectback to it's original value from the GET request if validation fails for the inline formsets inCreateWithInlinesViewandUpdateWithInlinesview. - Added support for Django 3.0.
Supported Versions:
| Python | Django |
|---|---|
| 2.7 | 1.11 |
| 3.4 | 1.11–2.0 |
| 3.5-3.7 | 1.11–2.1 |
- Removed setting of
BaseInlineFormSetMixin.formset_classandGenericInlineFormSetMixin.formset_classso thatformsetcan be set infactory_kwargsinstead. - Removed
ModelFormSetMixin.get_context_dataandBaseInlineFormSetMixin.get_context_dataas this code was duplicated from Django'sMultipleObjectMixinandSingleObjectMixinrespectively. - Renamed
BaseFormSetMixintoBaseFormSetFactory. - Renamed
BaseInlineFormSetMixintoBaseInlineFormSetFactory. - Renamed
InlineFormSettoInlineFormSetFactory. - Renamed
BaseGenericInlineFormSetMixintoBaseGenericInlineFormSetFactory. - Renamed
GenericInlineFormSettoGenericInlineFormSetFactory.
All renamed classes will be removed in a future release.
Supported Versions:
| Python | Django |
|---|---|
| 2.7 | 1.11 |
| 3.4–3.6 | 1.11–2.0 |
- 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_fieldbeing set onBaseFormSetMixinand its subclasses. UseBaseFormSetMixin.factory_kwargsinstead. - Removed support for formset_kwarg
save_as_newbeing set onBaseInlineFormSetMixinand its subclasses. UseBaseInlineFormSetMixin.formset_kwargsinstead. - Removed support for
get_extra_form_kwargs. This can be set in the dictionary keyform_kwargsinBaseFormSetMixin.formset_kwargsinstead.
New features:
- Added SuccessMessageWithInlinesMixin (#151)
- Allow the formset prefix to be overridden (#154)
Bug fixes:
- SearchableMixin: Fix reduce() of empty sequence error (#149)
- Add fields attributes (Issue #144, PR #150)
- Fix Django 1.11 AttributeError: This QueryDict instance is immutable (#156)
This version supports Django 1.7, 1.8, 1.9, 1.10 (latest minor versions), and Python 2.7, 3.4, 3.5 (latest minor versions).
- Added Django 1.10 support
- Dropped Django 1.6 support
This version supports Django 1.6, 1.7, 1.8, 1.9 (latest minor versions), and Python 2.7, 3.4, 3.5 (latest minor versions).
- Added
widgetsattribute setting; allow to change form widgets in theModelFormSetView. - Added Django 1.9 support.
- Fixed
get_context_data()usage of*args, **kwargs. - Fixed silent overwriting of
ModelFormfields to__all__.
- Dropped support for Django <= 1.5 and Python 3.3.
- Removed the
extra_views.multimodule as it had neither documentation nor test coverage and was broken for some of the supported Django/Python versions. - This package no longer implicitly set
fields = '__all__'. If you faceImproperlyConfiguredexceptions, you should have a look at the Django 1.6 release notes and set thefieldsorexcludeattributes on yourModelFormor extra-views views.
Beginning of this changelog.