{ "info": { "author": "J\u00e9r\u00f4me Lebleu", "author_email": "jerome.lebleu@cliss21.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Foundation Forms for Django\n===========================\n\nA reusable Django application for rendering forms with `Foundation for\nSites `__.\n\nRequirements\n------------\n\n- Python 3.5, 3.6 and 3.7\n- Django 2.0.x, 2.1.x and 2.2.x (Jinja2 is not supported yet)\n- Foundation for Sites 6.x\n\nNote that this application does not include Foundation for Sites assets\nso that you can customize it as you need. Get started by reading its\n`documentation `__!\n\nFeatures\n--------\n\n- Displays the field label as well as its help text\n- Renders the Django base Widgets following the `Forms\n component `__\\ \u2019s\n guidelines\n- Shows the field errors as needed and sets the proper CSS classes on\n the field label and the input\n\nInstallation\n------------\n\n1. Install Foundation Forms for Django:\n\n ::\n\n pip install django-fsforms\n\n2. Add it to the ``INSTALLED_APPS`` in your ``settings.py``:\n\n .. code:: python\n\n INSTALLED_APPS = (\n ...\n 'fsforms',\n ...\n )\n\n3. Set the ``FORM_RENDERER`` in your ``settings.py`` to use\n ``fsforms``\\ \u2019 one:\n\n - If you are using Django templates:\n\n .. code:: python\n\n FORM_RENDERER = 'fsforms.renderers.DjangoTemplates'\n\n - If you are using ``TemplateSetting`` as form renderer, you just\n have to ensure that the ``fsforms`` templates will be sourced\n before the built-in widgets templates directory.\n\n Note that this step is required since Django is loading templates\n first from the built-in form templates directory in ``django/forms``\n when using those backends (see the `Built-in-template form renderers\u2019\n doc `__).\n\nUsage\n-----\n\nIn your template, you will just have to load ``fsforms`` then use the\n``fsfield`` tag to render a form field.\n\n.. code:: django\n\n {% load fsforms %}\n\n
\n {% csrf_token %}\n
    \n
  • {% fsfield form.simple_field %}
  • \n
  • {% fsfield form.other_field label_class=\"my-field\" %}
  • \n
\n
\n \n
\n
\n\nHere are the special arguments you can pass to the ``fsfield`` tag: -\n``show_label``: a boolean which turns on or off the label output. Note\nthat label of choices widgets will always be displayed. -\n``label_class``: a string which contains additional CSS classes to apply\nto the label element. - ``show_errors``: a boolean which turns on or off\nthe field errors\u2019 output as well as the CSS classes applied to the\nelements - e.g. ``is-invalid-input`` and ``is-invalid-label``. Default\nis ``True``. - ``as_list``: a boolean which controls the rendering of\nchoices widgets - i.e.\u00a0RadioSelect and CheckboxSelectMultiple. When set\nto ``True`` - the default, the fields will be rendered inline and\nwrapped inside a fieldset as suggested by the Forms component.\nOtherwise, they will be rendered as a list.\n\nAll the remaining arguments will be added to the widget attributes. As\nregards the ``required`` one, you can alter its value too but only with\nclient-side effect. It means that if a field is defined as required in\nthe form class and you pass ``required=False`` to the tag, it will\nappear as non-required to the user but will still be validated at the\nform\u2019s submission.\n\nLicense\n-------\n\nYou can use this under GNU AGPLv3+. See `LICENSE `__ file for\ndetails.\n\n\nChangelog\n---------\n\n[6.0.0] - 2019-09-23\n--------------------\n\nFixed\n~~~~~\n\n- Add compatibility for Django >= 2.1 and Python 3.5\n\n[6.0.0rc2] - 2018-04-11\n-----------------------\n\nAdded\n~~~~~\n\n- ``fsfield`` tag to render a form field using Foundation Forms\n structure.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://forge.cliss21.org/cliss21/django-fsforms", "keywords": "", "license": "GNU AGPL-3", "maintainer": "", "maintainer_email": "", "name": "django-fsforms", "package_url": "https://pypi.org/project/django-fsforms/", "platform": "", "project_url": "https://pypi.org/project/django-fsforms/", "project_urls": { "Homepage": "https://forge.cliss21.org/cliss21/django-fsforms" }, "release_url": "https://pypi.org/project/django-fsforms/6.0.0/", "requires_dist": null, "requires_python": "", "summary": "A reusable Django application for rendering forms with Foundation for Sites.", "version": "6.0.0" }, "last_serial": 5872197, "releases": { "6.0.0": [ { "comment_text": "", "digests": { "md5": "3b83076715c11f191bd1b96fe140825d", "sha256": "d5378b47ac3fef460464b7c9e9deead58f7ad832b7f2cf59f448c02add3e6e09" }, "downloads": -1, "filename": "django_fsforms-6.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3b83076715c11f191bd1b96fe140825d", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 21037, "upload_time": "2019-09-23T08:24:47", "url": "https://files.pythonhosted.org/packages/79/98/1c6c1a41154b515dd0ce90ea84349cd679050af5b869bce6a9798f11bc5c/django_fsforms-6.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccf691cf4bb914ce9e45e8c573be7095", "sha256": "799870aa3122de7cd57ee513f5bd9fe31733d97a4242b4c0bf69f98817bbd6a8" }, "downloads": -1, "filename": "django-fsforms-6.0.0.tar.gz", "has_sig": false, "md5_digest": "ccf691cf4bb914ce9e45e8c573be7095", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18441, "upload_time": "2019-09-23T08:24:42", "url": "https://files.pythonhosted.org/packages/b8/35/d034357ede71797e67dd8ad72ad9e2ff9682391fc543039c94d0655cf1c5/django-fsforms-6.0.0.tar.gz" } ], "6.0.0b1": [ { "comment_text": "", "digests": { "md5": "a7daf0a430e0dd9379047ece084dbabf", "sha256": "bdce3b1597ef02eda42a8bd1cbdff85c767c6a80e9ef7f0d4bbabbe4cfcd2fcd" }, "downloads": -1, "filename": "django_fsforms-6.0.0b1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a7daf0a430e0dd9379047ece084dbabf", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16439, "upload_time": "2017-08-15T16:41:58", "url": "https://files.pythonhosted.org/packages/21/03/7f27982616b580a1a3a54e27a1a6555b5397e7dda58a0d68e684ad851553/django_fsforms-6.0.0b1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "db777e0ddaca5c26f3dd461548feec47", "sha256": "1fefafb98d79f5fa508412baa581987dd70a72359656396be9675d3235bcb240" }, "downloads": -1, "filename": "django-fsforms-6.0.0b1.tar.gz", "has_sig": false, "md5_digest": "db777e0ddaca5c26f3dd461548feec47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21040, "upload_time": "2017-08-15T16:41:52", "url": "https://files.pythonhosted.org/packages/0a/f4/4d9c3b24232abefbff7c6cec95f05e8f4260e2fe1f7876b67bbe1d284208/django-fsforms-6.0.0b1.tar.gz" } ], "6.0.0b2": [ { "comment_text": "", "digests": { "md5": "9bc7507717e28fed7f5411d363426acc", "sha256": "6d6cf957c90bd4c5f348a39b660110d3df1afbb306365b0b49f1a6627a1891c0" }, "downloads": -1, "filename": "django_fsforms-6.0.0b2-py3-none-any.whl", "has_sig": false, "md5_digest": "9bc7507717e28fed7f5411d363426acc", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16450, "upload_time": "2017-08-24T14:19:48", "url": "https://files.pythonhosted.org/packages/e8/37/e21e2e34132c334ca114792dc580d9bb1f74949556c814dbb6f09f792284/django_fsforms-6.0.0b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64e2e71e6287cda88392b1afb61beac9", "sha256": "d2d079d4e963e8304cfbc2c8a4bdc0809e9d5e543a4658e7edd2909b9b3a8d61" }, "downloads": -1, "filename": "django-fsforms-6.0.0b2.tar.gz", "has_sig": false, "md5_digest": "64e2e71e6287cda88392b1afb61beac9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21130, "upload_time": "2017-08-24T14:19:44", "url": "https://files.pythonhosted.org/packages/2e/94/00716055797b1a7e5ac73c568dc7b062bd3601048e263502a4c9feeac5c8/django-fsforms-6.0.0b2.tar.gz" } ], "6.0.0b3": [ { "comment_text": "", "digests": { "md5": "f5d2f57d228909846ac495cba67b24fe", "sha256": "31fc62deed3b2d45f9e11b56237ed7a72a9d79ed9aaa8aed2ca7c4fa05a9fb7f" }, "downloads": -1, "filename": "django_fsforms-6.0.0b3-py3-none-any.whl", "has_sig": false, "md5_digest": "f5d2f57d228909846ac495cba67b24fe", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16585, "upload_time": "2017-09-16T15:11:51", "url": "https://files.pythonhosted.org/packages/6f/97/43fcebd4428bd257ce45f5784c57634f008803ac11c087b92c4395676b0c/django_fsforms-6.0.0b3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "17ecc9b2cb65324d5dbd6046ceef703d", "sha256": "61321365f54547959b493f7b85c16b9825ff3cc7ee944c7e93dec2ef0b72b089" }, "downloads": -1, "filename": "django-fsforms-6.0.0b3.tar.gz", "has_sig": false, "md5_digest": "17ecc9b2cb65324d5dbd6046ceef703d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21238, "upload_time": "2017-09-16T15:11:46", "url": "https://files.pythonhosted.org/packages/b8/8a/895c5ad6058f3e9ead12cd68ab80ca5eee0b5e47fcac70692283d6990451/django-fsforms-6.0.0b3.tar.gz" } ], "6.0.0rc1": [ { "comment_text": "", "digests": { "md5": "511c2dec3114277700594cf120708841", "sha256": "565706a09687ece3732810bac8968169000e31f0c3716519b81f0eef5562ae29" }, "downloads": -1, "filename": "django_fsforms-6.0.0rc1-py3-none-any.whl", "has_sig": false, "md5_digest": "511c2dec3114277700594cf120708841", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 11345, "upload_time": "2018-02-18T15:12:04", "url": "https://files.pythonhosted.org/packages/8b/ef/b7943ef06e039b50dd1685364036c026c8cbb0edf933fc52b90651474a59/django_fsforms-6.0.0rc1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "35decc579d9be3cd6cd8081d85604be3", "sha256": "fa700d94c03f3b22ae768491916710a2f318211cbdb2033bc5c499201e5dd679" }, "downloads": -1, "filename": "django-fsforms-6.0.0rc1.tar.gz", "has_sig": false, "md5_digest": "35decc579d9be3cd6cd8081d85604be3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20179, "upload_time": "2018-02-18T15:11:56", "url": "https://files.pythonhosted.org/packages/0a/cd/e693510570e48a132a6dd4b0577893d442409a939c0fd732b78c88925e65/django-fsforms-6.0.0rc1.tar.gz" } ], "6.0.0rc2": [ { "comment_text": "", "digests": { "md5": "c6f3ad5319e0196aa2c568e68dab758b", "sha256": "a52ee46ab91cdffe8fc4b2aa3a1e54bd01c6727633d69c75041b152861b6e6ec" }, "downloads": -1, "filename": "django_fsforms-6.0.0rc2-py3-none-any.whl", "has_sig": false, "md5_digest": "c6f3ad5319e0196aa2c568e68dab758b", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 11364, "upload_time": "2018-04-11T11:40:57", "url": "https://files.pythonhosted.org/packages/8f/5a/d1526da34952b074be8a30b2692d84385d3e84498ed1a828a8a331d4b40a/django_fsforms-6.0.0rc2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1962a801dabc6f42521b36d3e53c6af", "sha256": "abd427b9460d2c5587d098979639d58c48bcbdc9713c9f7b922917d1e53d6ac3" }, "downloads": -1, "filename": "django-fsforms-6.0.0rc2.tar.gz", "has_sig": false, "md5_digest": "d1962a801dabc6f42521b36d3e53c6af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20195, "upload_time": "2018-04-11T11:40:53", "url": "https://files.pythonhosted.org/packages/75/bd/027c34ca0a9c310440c198314244a8b90cd8c31622979e363d63acd60cb8/django-fsforms-6.0.0rc2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b83076715c11f191bd1b96fe140825d", "sha256": "d5378b47ac3fef460464b7c9e9deead58f7ad832b7f2cf59f448c02add3e6e09" }, "downloads": -1, "filename": "django_fsforms-6.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3b83076715c11f191bd1b96fe140825d", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 21037, "upload_time": "2019-09-23T08:24:47", "url": "https://files.pythonhosted.org/packages/79/98/1c6c1a41154b515dd0ce90ea84349cd679050af5b869bce6a9798f11bc5c/django_fsforms-6.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccf691cf4bb914ce9e45e8c573be7095", "sha256": "799870aa3122de7cd57ee513f5bd9fe31733d97a4242b4c0bf69f98817bbd6a8" }, "downloads": -1, "filename": "django-fsforms-6.0.0.tar.gz", "has_sig": false, "md5_digest": "ccf691cf4bb914ce9e45e8c573be7095", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18441, "upload_time": "2019-09-23T08:24:42", "url": "https://files.pythonhosted.org/packages/b8/35/d034357ede71797e67dd8ad72ad9e2ff9682391fc543039c94d0655cf1c5/django-fsforms-6.0.0.tar.gz" } ] }