From ac1afaf61e1c962be5ed3645f724a66674431d77 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Mon, 6 Jan 2025 16:44:47 +0100 Subject: [PATCH] Bump version --- CHANGELOG.rst | 13 +++++++++++++ README.rst | 7 ++++--- djangocms_form_builder/__init__.py | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 385e526..a5e929f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ Changelog ========= +0.2.0 (2025-01-06) +================== + +* fix: github coverage action by @fsbraun in https://github.com/django-cms/djangocms-form-builder/pull/12 +* fix: an error when an anonymous user fills the form by @arunk in https://github.com/django-cms/djangocms-form-builder/pull/13 +* fix: Add support for Django-entangled 0.6+ by @fsbraun in https://github.com/django-cms/djangocms-form-builder/pull/19 +* docs: Updated README.rst to show where to add actions by @arunk in https://github.com/django-cms/djangocms-form-builder/pull/14 +* chore: Added venv/ directory to .gitignore by @arunk in https://github.com/django-cms/djangocms-form-builder/pull/15 + +**New Contributors** +* @arunk made their first contribution in https://github.com/django-cms/djangocms-form-builder/pull/13 + + 0.1.1 (2021-09-14) ================== diff --git a/README.rst b/README.rst index 9abfb79..6de6f43 100644 --- a/README.rst +++ b/README.rst @@ -98,7 +98,8 @@ Upon submission of a valid form actions can be performed. A project can register ... # This method is run upon successful submission of the form -To add this action, this needs to be added to your project at startup. Fabian suggests putting these actions in your apps models.py file. Another options is your apps, apps.py file:: +To add this action, might need to be added to your project only after all Django apps have loaded at startup. +You can put these actions in your apps models.py file. Another options is your apps, apps.py file:: from django.apps import AppConfig @@ -107,14 +108,14 @@ To add this action, this needs to be added to your project at startup. Fabian su name = 'myapp' label = 'myapp' verbose_name = _("My App") - + def ready(self): super().ready() from djangocms_form_builder import actions @actions.register - class MyAction(actions.FormAction): + class MyAction(actions.FormAction): # Or import from within the ready method verbose_name = _("Everything included action") def execute(self, form, request): diff --git a/djangocms_form_builder/__init__.py b/djangocms_form_builder/__init__.py index 70b3b00..f892d48 100644 --- a/djangocms_form_builder/__init__.py +++ b/djangocms_form_builder/__init__.py @@ -6,7 +6,7 @@ _ = lambda x: x -__version__ = "0.1.1" +__version__ = "0.2.0" _form_registry = {}