Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    wadofstuff-django-forms 1.1.0

    Download button

    No screenshots available
    Downloads: 304  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Matthew Flanagan | More programs
    BSD License / FREE
    August 11th, 2009, 12:58 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    wadofstuff-django-forms description

    Extended Django forms

    wadofstuff-django-forms is a set of utility functions and classes to extend the functionality of Django forms.

    Functions

    security_hash(request, form, exclude=None, *args)

    Calculates a security hash for the given Form/FormSet instance.

    This creates a list of the form field names/values in a deterministic
    order, pickles the result with the SECRET_KEY setting, then takes an md5
    hash of that.

    Allows a list of form fields to be excluded from the hash calculation. This
    is useful form fields that may have their values set programmatically.

    Classes

    BoundFormWizard

    A subclass of Django's FormWizard that adds the following functionality:

    - Renders `previous_fields` as a list of bound form fields in the template
      context rather than as raw html.
    - Can handle FormSets.

    The usage of this class is identical to that documented at
    http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/ with
    the exception that when rendering `previous_fields` you should change your
    wizard step templates from:

       
        {{ previous_fields|safe }}

    to:

       
        {% for f in previous_fields %}{{ f.as_hidden }}{% endfor %}



    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    Django forms | extended forms | Django plugin | Django | extended | forms

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM