{ "info": { "author": "Atamert \u00c3\u0096l\u00c3\u00a7gen", "author_email": "muhuk@muhuk.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": ".. attention:: This package is no longer maintained.\r\n\r\n**django-formfieldset** is a simple Django app that provides a mix-in class for admin-like fieldset rendering.\r\n\r\n\r\nFeatures\r\n========\r\n\r\n- Fieldset functionality similar to ``ModelAdmin``\r\n- Shorthand rendering functions with fieldsets both for whole forms and for individual fieldsets\r\n\r\n - render as ``P``\r\n - render as ``TABLE``\r\n - render as ``UL``\r\n\r\n- Template strings are class attributes\r\n- Overrides nothing in ``django.forms.Form``\r\n\r\n\r\nInstallation\r\n============\r\n\r\n#. Add ``\"django-formfieldset\"`` directory to your Python path.\r\n#. Add ``\"formfieldset\"`` to your ``INSTALLED_APPS`` tuple found in\r\n your settings file. (optional - to be able to run tests)\r\n\r\n\r\nTesting & Example\r\n=================\r\n\r\nThere is an example project in the ``example/`` directory. To run\r\nautomated tests for django-formfieldset run the following command\r\nin ``example/`` directory:\r\n\r\n::\r\n\r\n python example/manage.py test formfieldset\r\n\r\nTo run the example project:\r\n\r\n::\r\n\r\n python example/manage.py runserver\r\n\r\nThen you can visit ``http://localhost:8000/`` to view the example.\r\n**Example project also serves as detailed documentation for formfieldset**.\r\n\r\nCode examples will be highlighted if you have ``pygments`` installed.\r\n\r\n\r\nUsage\r\n=====\r\n\r\n#. Create your form with ``FieldsetMixin``.\r\n#. Add a ``fieldsets`` attribute to your form. See\r\n `admin docs `_\r\n for detailed explanation.\r\n#. Render your form with fieldset enabled methods:\r\n\r\n - You can use ``iter_fieldsets()`` for custom form rendering. It\r\n will yield ``Fieldset`` objects. ``Fieldset``\\ s act as iterators for\r\n widgets in them.\r\n - You can use ``as_fieldset_table()``, ``as_fieldset_ul()`` and\r\n ``as_fieldset_p()`` methods that act like built-in ``as_*`` method\r\n except fieldset support.\r\n\r\n\r\nTutorials & How-to's\r\n====================\r\n\r\n- `What\u2019s New in django-formfieldset 1.1 `_\r\n\r\n\r\nSee Also\r\n========\r\n\r\n- `django-form-utils `_", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/muhuk/django-formfieldset/tree/master", "keywords": "", "license": "Copyright (c) 2006, Atamert \u00c3\u0096l\u00c3\u00a7gen (http://www.muhuk.com)\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without modification,\r\nare permitted provided that the following conditions are met:\r\n\r\n 1. Redistributions of source code must retain the above copyright notice,\r\n this list of conditions and the following disclaimer.\r\n\r\n 2. Redistributions in binary form must reproduce the above copyright\r\n notice, this list of conditions and the following disclaimer in the\r\n documentation and/or other materials provided with the distribution.\r\n\r\n 3. Neither the name of django-formfieldset nor the names of its\r\n contributors may be used to endorse or promote products derived from\r\n this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\r\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\r\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\r\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": "", "maintainer_email": "", "name": "django-formfieldset", "package_url": "https://pypi.org/project/django-formfieldset/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-formfieldset/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/muhuk/django-formfieldset/tree/master" }, "release_url": "https://pypi.org/project/django-formfieldset/1.1/", "requires_dist": null, "requires_python": null, "summary": "Fieldset Rendering For Non-Admin Forms", "version": "1.1" }, "last_serial": 973717, "releases": { "1.0": [], "1.1": [ { "comment_text": "", "digests": { "md5": "969bd0cf86828c1759d10c6c305c8788", "sha256": "052dbb3742de228bb05b92838c43b5b9d0be3348f2a9bb151eb34c9cae3d7d38" }, "downloads": -1, "filename": "django-formfieldset-1.1.tar.gz", "has_sig": false, "md5_digest": "969bd0cf86828c1759d10c6c305c8788", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6939, "upload_time": "2010-03-20T21:31:42", "url": "https://files.pythonhosted.org/packages/f0/03/d98904015205356b69bdae00f3b44f0fd36fc1dae2ddcaab4fd14ef5565f/django-formfieldset-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "969bd0cf86828c1759d10c6c305c8788", "sha256": "052dbb3742de228bb05b92838c43b5b9d0be3348f2a9bb151eb34c9cae3d7d38" }, "downloads": -1, "filename": "django-formfieldset-1.1.tar.gz", "has_sig": false, "md5_digest": "969bd0cf86828c1759d10c6c305c8788", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6939, "upload_time": "2010-03-20T21:31:42", "url": "https://files.pythonhosted.org/packages/f0/03/d98904015205356b69bdae00f3b44f0fd36fc1dae2ddcaab4fd14ef5565f/django-formfieldset-1.1.tar.gz" } ] }