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.

  • USSocialSecurityNumberField

    Check that a field conforms to the US Social Security number format. Includes evaluation of invalid number ranges, and invalid pattern rules. Permits Lexis Nexis test SSNs.

Views

  • FormSetView

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

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-1.2.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_forms_ext-1.2.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file django_forms_ext-1.2.1.tar.gz.

File metadata

  • Download URL: django_forms_ext-1.2.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for django_forms_ext-1.2.1.tar.gz
Algorithm Hash digest
SHA256 2fe07c933bafc37391ec80af9b6e9fbdcb6d00efe9722c4589f72acf604b09ef
MD5 09d155cc9f92863658a60b4d4283835a
BLAKE2b-256 ca4e510f41c2c1bff9bd971451a87e06e6df24f3749046b35405fe5d4321b71e

See more details on using hashes here.

File details

Details for the file django_forms_ext-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_forms_ext-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2dd6bd6296b893888cc6838c68a2aa81fd6b48d33475a8fef7ede3fa042c29d1
MD5 563236473cb81e9402da8598cbc2f3cb
BLAKE2b-256 6e57fdbf28993a46a44ec4df7172a2ebfe8a26db5ec2ab91eeb99f4c48b865ab

See more details on using hashes here.

Supported by

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