Form generator/builder application for Django done right: customisable, modular, user- and developer- friendly.
Bot releases are visible (Hide)
email_repeat
plugin.Published by barseghyanartur over 1 year ago
fobi.contrib.plugins.form_handlers.db_store.base.DBStoreHandlerPlugin.run
now returns created fobi.contrib.plugins.form_handlers.db_store.models.SavedFormDataEntry
.Published by barseghyanartur almost 2 years ago
Published by barseghyanartur almost 2 years ago
Published by barseghyanartur almost 2 years ago
Published by barseghyanartur over 2 years ago
ViewFormEntry
view.Published by barseghyanartur over 2 years ago
Published by barseghyanartur over 2 years ago
Introduce class based views. Function based views are still supported
and will be supported until at least 0.23.
Migration to class based views is simple. Only your project's urls.py
would change:
urlpatterns = [
# ...
url(r'^fobi/', include('fobi.urls.class_based.view')),
url(r'^fobi/', include('fobi.urls.class_based.edit')),
# ...
]
To use function based views, simply replace the previous line with:
urlpatterns = [
# ...
url(r'^fobi/', include('fobi.urls.view')),
url(r'^fobi/', include('fobi.urls.edit')),
# ...
]
Class-based permissions (work only in combination with class-based views).
Example:
from fobi.permissions.definitions import edit_form_entry_permissions
from fobi.permissions.generic import BasePermission
from fobi.permissions.helpers import (
any_permission_required_func, login_required,
)
class EditFormEntryPermission(BasePermission):
"""Permission to edit form entries."""
def has_permission(self, request, view) -> bool:
return login_required(request) and any_permission_required_func(
edit_form_entry_permissions
)(request.user)
def has_object_permission(self, request, view, obj) -> bool:
return login_required(request) and any_permission_required_func(
edit_form_entry_permissions
)(request.user) and obj.user == request.user
Published by barseghyanartur over 2 years ago
Release dedicated to my dear son, Tigran, who turned 10 recently.
Published by barseghyanartur over 3 years ago
Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh)
and all the victims of Turkish and Azerbaijani aggression.
simplejson
with json
.Published by barseghyanartur almost 4 years ago
Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh)
and all the victims of Turkish and Azerbaijani aggression.
Published by barseghyanartur over 4 years ago
admin_static
templatetag module.Published by barseghyanartur over 4 years ago
datetime
is not JSON serializable error.Published by barseghyanartur almost 5 years ago
.. note::
This release drops support for Python 2.7 and 3.4 and sets the minimum
requirement version for Django to 1.11. If you don't meet these
requirements - do not upgrade.
Published by barseghyanartur over 5 years ago
.. note::
Although this release does not contain major backwards incompatible
changes, some things you have had working in past might break.
FOBI_FAIL_ON_ERRORS_IN_FORM_ELEMENT_PLUGINS
,FOBI_FAIL_ON_ERRORS_IN_FORM_HANDLER_PLUGINS
,FOBI_FAIL_ON_MISSING_INTEGRATION_FORM_ELEMENT_PLUGINS
andFOBI_FAIL_ON_MISSING_INTEGRATION_FORM_HANDLER_PLUGINS
used to be set toFalse
by default (silencing exceptions). It's no longer so. ExceptionsFalse
.Published by barseghyanartur over 5 years ago
Published by barseghyanartur over 5 years ago
mail_sender
DRF integration plugin.Published by barseghyanartur over 5 years ago
Release supported by Goldmund, Wyldebeast & Wunderliebe
mail_sender
form handler plugin.Published by barseghyanartur almost 6 years ago
Published by barseghyanartur about 6 years ago