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.6.tar.gz (7.3 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