Useful fields and widgets for Django forms.
Project description
Django form extensions implements serveral usefull Field and Widget classes for Django forms.
Installation
Run pip install hg+https://bitbucket.org/nextscreenlabs/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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-form-extensions-0.1.1a3.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 124893a0f751412406c325c73fd30129e535835b8a9d3b2fe2ee87599af1dc73 |
|
MD5 | 4e14c307330df830928af252ddd8d72f |
|
BLAKE2b-256 | 9ecc60f9a1e945abb78a6e4186a3a4e88af30473ed92ac86867b80b4c8f9f6d8 |