skip to navigation
skip to content

Not Logged In

django-form-extensions 0.1.2b4

Useful fields and widgets for Django forms.

Django form extensions implements serveral usefull Field and Widget classes for Django forms.

Installation

Run pip install django-form-extensions

Fields

###HoneypotField Presents an alluring target for robo-spammers. Raises a form error if tampered with.

###HTMLField Whitelist HTML tags, attributes, and styles and return the resulting HTML with illegal items stripped out.

###USCurrencyField Take in all common forms of representing US currency and return a decimal value.

###CreditCardField Only accepts mathmatically correct credit card numbers.

###MultiFileField Allows a single field to take multiple file uploads.

Widgets

###DataList Generates the HTML5 datalist element which is used for autocomplete.

###MultiFileInput Renders <input type="file" multiple="multiple" /> and it's Python value is a list of files.

###FileMultiInput Takes several instances of <input type="file" /> combines them for it's Python value which is a list of files.

###ImageInput Renders a thumbnail of the image before the FileInput widget.

 
File Type Py Version Uploaded on Size
django-form-extensions-0.1.2b4.zip (md5) Source 2013-03-26 14KB
  • Downloads (All Versions):
  • 43 downloads in the last day
  • 163 downloads in the last week
  • 342 downloads in the last month
  • Author: Jason Christa
  • Home Page: https://bitbucket.org/nextscreenlabs/django-form-extensions
  • License:
    Copyright (c) 2012 Jason Christa and contributors
    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 this project 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.
  • Categories
  • Package Index Owner: megaman821
  • DOAP record: django-form-extensions-0.1.2b4.xml