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.2.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.2-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_forms_ext-1.2.2.tar.gz
Algorithm Hash digest
SHA256 486ad252d087717ffe12199d3ebe2ecab68dcdc71e8d50ce237acb0b2a1fb028
MD5 0da96a7503cdfc8faa21304a9b074e04
BLAKE2b-256 5198e6819f2fe50ffe6fcf9b328fc34e00c5c97cf51686360ad1e40b2768fd79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_forms_ext-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23f96d046d2c659ee4aafa350d8699fbf196b255764a8ba1069a046e0a8ffc45
MD5 06dd5e91bf6308e74c3e53d27a5fc1a7
BLAKE2b-256 be01e022b4a539bcad35104c802dd67e08c7e2012ef4acd75574866842d96406

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