Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Jan 6, 2025
1 parent 8f201e8 commit ac1afaf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
==================

Expand Down
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion djangocms_form_builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_ = lambda x: x


__version__ = "0.1.1"
__version__ = "0.2.0"

_form_registry = {}

Expand Down

0 comments on commit ac1afaf

Please sign in to comment.