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

Uploaded Source

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