Skip to main content

Extensions for Django's Forms.

Project description

These are extensions for Django’s forms.

Currently this contains the following:

Fields

  • ForeignKeyChoiceField

    When you have a formset that has a foreign key, Django will fire off a new (identical) query to build the choices for that field for each form in the formset by default. Using this field will allow you to run the query once for the choices and re-use that queryset for each form in the formset.

  • CommaSeparatedField

    Django has a comma separated integer field, but not just strings. Stupid, I know… we created one for use with strings

  • QuerysetChoiceField

    When you want to build a select box with a queryset but don’t want a model instance when saving, use this thing.

Views

  • FormSetView

    Django 1.3’s generic views do not include a FormSet view. That’s what this is.

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-forms-ext-0.0.8.tar.gz (10.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page