معرفی شرکت ها


django-formfieldset-1.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Fieldset Rendering For Non-Admin Forms
ویژگی مقدار
سیستم عامل -
نام فایل django-formfieldset-1.1
نام django-formfieldset
نسخه کتابخانه 1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Atamert Ölçgen
ایمیل نویسنده muhuk@muhuk.com
آدرس صفحه اصلی http://github.com/muhuk/django-formfieldset/tree/master
آدرس اینترنتی https://pypi.org/project/django-formfieldset/
مجوز Copyright (c) 2006, Atamert Ölçgen (http://www.muhuk.com) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of django-formfieldset nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.. attention:: This package is no longer maintained. **django-formfieldset** is a simple Django app that provides a mix-in class for admin-like fieldset rendering. Features ======== - Fieldset functionality similar to ``ModelAdmin`` - Shorthand rendering functions with fieldsets both for whole forms and for individual fieldsets - render as ``P`` - render as ``TABLE`` - render as ``UL`` - Template strings are class attributes - Overrides nothing in ``django.forms.Form`` Installation ============ #. Add ``"django-formfieldset"`` directory to your Python path. #. Add ``"formfieldset"`` to your ``INSTALLED_APPS`` tuple found in your settings file. (optional - to be able to run tests) Testing & Example ================= There is an example project in the ``example/`` directory. To run automated tests for django-formfieldset run the following command in ``example/`` directory: :: python example/manage.py test formfieldset To run the example project: :: python example/manage.py runserver Then you can visit ``http://localhost:8000/`` to view the example. **Example project also serves as detailed documentation for formfieldset**. Code examples will be highlighted if you have ``pygments`` installed. Usage ===== #. Create your form with ``FieldsetMixin``. #. Add a ``fieldsets`` attribute to your form. See `admin docs <http://docs.djangoproject.com/en/dev/ref/contrib/admin/#fieldsets>`_ for detailed explanation. #. Render your form with fieldset enabled methods: - You can use ``iter_fieldsets()`` for custom form rendering. It will yield ``Fieldset`` objects. ``Fieldset``\ s act as iterators for widgets in them. - You can use ``as_fieldset_table()``, ``as_fieldset_ul()`` and ``as_fieldset_p()`` methods that act like built-in ``as_*`` method except fieldset support. Tutorials & How-to's ==================== - `What’s New in django-formfieldset 1.1 <http://www.muhuk.com/2010/03/whats-new-in-django-formfieldset-1-1/>`_ See Also ======== - `django-form-utils <http://bitbucket.org/carljm/django-form-utils/>`_


نحوه نصب


نصب پکیج whl django-formfieldset-1.1:

    pip install django-formfieldset-1.1.whl


نصب پکیج tar.gz django-formfieldset-1.1:

    pip install django-formfieldset-1.1.tar.gz