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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fe07c933bafc37391ec80af9b6e9fbdcb6d00efe9722c4589f72acf604b09ef
|
|
| MD5 |
09d155cc9f92863658a60b4d4283835a
|
|
| BLAKE2b-256 |
ca4e510f41c2c1bff9bd971451a87e06e6df24f3749046b35405fe5d4321b71e
|
File details
Details for the file django_forms_ext-1.2.1-py3-none-any.whl.
File metadata
- Download URL: django_forms_ext-1.2.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dd6bd6296b893888cc6838c68a2aa81fd6b48d33475a8fef7ede3fa042c29d1
|
|
| MD5 |
563236473cb81e9402da8598cbc2f3cb
|
|
| BLAKE2b-256 |
6e57fdbf28993a46a44ec4df7172a2ebfe8a26db5ec2ab91eeb99f4c48b865ab
|