wagtail_form_plugins


Namewagtail_form_plugins JSON
Version 0.4.2 PyPI version JSON
download
home_pagehttps://github.com/laas/wagtail-form-plugins
SummaryA set of plugins used to customize and improve the Wagtail form builder in a modular way.
upload_time2024-12-21 18:29:39
maintainerNone
docs_urlNone
authorNathanaël Jourdane
requires_python<4.0,>=3.10
licenseBSD-3-Clause
keywords wagtail form plugins
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Wagtail Form Plugins

A set of plugins used to customize and improve the Wagtail form builder in a modular way.

- **streamfield**: improve the user experience of the form app, using StreamFields;
- **conditional fields**: make a field appear or not depending on the value of a previous field;
- **templating**: allow to inject variables in field initial values and emails such as the user name, etc;
- **file_input**: allow users to send a file via the form;
- **indexed_results**: add an index in the results (can be used in the templating plugin);
- **named_form**: allow to fill the form only once per user;
- **emails**: send multiple emails when a form is submitted;
- **datepickers**: add `date` and `datetime` input types to make the browser datepicker appear.

Each plugin is supposed to work independently.

Plugins are mixins: you add them with class inheritance:

```py
class AbstractFormPage(
    wfp_models.TemplatingFormMixin,
    wfp_models.FileInputFormMixin,
    wfp_models.ConditionalFieldsFormMixin,
    wfp_models.StreamFieldFormMixin,
    wfp_models.NavButtonsFormMixin,
    wfp_models.IndexedResultsFormMixin,
    FormMixin,
    Page,
):
```

You See the `demo` folder for further understanding.

You are welcome to make pull requests to add you own plugins if you think they can be useful for others.

This project is currently in beta: feedback is more than welcome, expect some API-breaks in minor releases.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/laas/wagtail-form-plugins",
    "name": "wagtail_form_plugins",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "wagtail, form, plugins",
    "author": "Nathana\u00ebl Jourdane",
    "author_email": "njourdane@laas.fr",
    "download_url": "https://files.pythonhosted.org/packages/db/05/973bce3efe6723407ce128fd7f5dd70d4dfa835fd6d3cdd881c17a028b61/wagtail_form_plugins-0.4.2.tar.gz",
    "platform": null,
    "description": "# Wagtail Form Plugins\n\nA set of plugins used to customize and improve the Wagtail form builder in a modular way.\n\n- **streamfield**: improve the user experience of the form app, using StreamFields;\n- **conditional fields**: make a field appear or not depending on the value of a previous field;\n- **templating**: allow to inject variables in field initial values and emails such as the user name, etc;\n- **file_input**: allow users to send a file via the form;\n- **indexed_results**: add an index in the results (can be used in the templating plugin);\n- **named_form**: allow to fill the form only once per user;\n- **emails**: send multiple emails when a form is submitted;\n- **datepickers**: add `date` and `datetime` input types to make the browser datepicker appear.\n\nEach plugin is supposed to work independently.\n\nPlugins are mixins: you add them with class inheritance:\n\n```py\nclass AbstractFormPage(\n    wfp_models.TemplatingFormMixin,\n    wfp_models.FileInputFormMixin,\n    wfp_models.ConditionalFieldsFormMixin,\n    wfp_models.StreamFieldFormMixin,\n    wfp_models.NavButtonsFormMixin,\n    wfp_models.IndexedResultsFormMixin,\n    FormMixin,\n    Page,\n):\n```\n\nYou See the `demo` folder for further understanding.\n\nYou are welcome to make pull requests to add you own plugins if you think they can be useful for others.\n\nThis project is currently in beta: feedback is more than welcome, expect some API-breaks in minor releases.\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "A set of plugins used to customize and improve the Wagtail form builder in a modular way.",
    "version": "0.4.2",
    "project_urls": {
        "Homepage": "https://github.com/laas/wagtail-form-plugins",
        "Repository": "https://github.com/laas/wagtail-form-plugins"
    },
    "split_keywords": [
        "wagtail",
        " form",
        " plugins"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3e9f304fba066e3eead2d1b644443902dd9f414ce068b12b657c8521750630b",
                "md5": "356b230422d7916c913d895f048e658c",
                "sha256": "1de1d20a6e19338ae729397af6ffaf5021ed2dd8910cc930ea6d6cad20cf785e"
            },
            "downloads": -1,
            "filename": "wagtail_form_plugins-0.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "356b230422d7916c913d895f048e658c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 41146,
            "upload_time": "2024-12-21T18:29:36",
            "upload_time_iso_8601": "2024-12-21T18:29:36.713228Z",
            "url": "https://files.pythonhosted.org/packages/d3/e9/f304fba066e3eead2d1b644443902dd9f414ce068b12b657c8521750630b/wagtail_form_plugins-0.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db05973bce3efe6723407ce128fd7f5dd70d4dfa835fd6d3cdd881c17a028b61",
                "md5": "2569623dd70857ab1a5212002ac7a027",
                "sha256": "c38c06bfac78e02d84f6b91f4908d9c0537b932ec2e9d71f405a41037a6af0da"
            },
            "downloads": -1,
            "filename": "wagtail_form_plugins-0.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2569623dd70857ab1a5212002ac7a027",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 25193,
            "upload_time": "2024-12-21T18:29:39",
            "upload_time_iso_8601": "2024-12-21T18:29:39.306206Z",
            "url": "https://files.pythonhosted.org/packages/db/05/973bce3efe6723407ce128fd7f5dd70d4dfa835fd6d3cdd881c17a028b61/wagtail_form_plugins-0.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-21 18:29:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "laas",
    "github_project": "wagtail-form-plugins",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wagtail_form_plugins"
}
        
Elapsed time: 3.76018s