Skip to main content

django-uni-form

Project description

[http://djangoproject.com Django] forms are easily rendered as tables, paragraphs, and unordered lists. However, elegantly rendered div based forms is something you have to do by hand. The purpose of this application is to provide a simple tag and/or filter that lets you quickly render forms in a div format.

[http://sprawsm.com/uni-form Uni-form] has been selected as the base model for the design of the forms.

Using django-uni-form

  1. Install as uni_form in your Django apps directory.

  2. Copy the site_media files in uni_form to your project site_media directory.

    uni-form-generic.css uni-form.css uni-form.jquery.js

  3. Add ‘uni_form’ to INSTALLED_APPS in settings.py.

  4. Add ‘{% load uni_form %}’ to the template that calls your form.

  5. Append your form call with the as_uni_form filter:

    {{ my_form|as_uni_form }}

  6. Add the class of ‘uniForm’ to your form. Example:

    <form action=”” method=”post” class=”uniForm”

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-uni-form-0.3.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file django-uni-form-0.3.tar.gz.

File metadata

File hashes

Hashes for django-uni-form-0.3.tar.gz
Algorithm Hash digest
SHA256 a42d55ff9fbfe0caba55de5e99954fd759e176ff1b8bfab9a4f12c7acca5a0d9
MD5 564484aecf8f62a1d53a3915e1344fa6
BLAKE2b-256 326a73091f3f0c362c42435f4734e8f54ca7bbd68f4b7707fe2cb914c2d35404

See more details on using hashes here.

Provenance

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