Skip to main content

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 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-form-extensions-0.1.2b4.zip (14.5 kB view details)

Uploaded Source

File details

Details for the file django-form-extensions-0.1.2b4.zip.

File metadata

File hashes

Hashes for django-form-extensions-0.1.2b4.zip
Algorithm Hash digest
SHA256 0247935e7c6baf9602d099395165523b88f94e411fce609627bc9e657b96b2b2
MD5 dc86a5f7ba845df97adcc1717b0ad320
BLAKE2b-256 68ff56e019bdc9319f93a59a822507278142744d77a4a40b455d0605eaa2f927

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page