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
File details
Details for the file django-forms-ext-0.0.8.tar.gz
.
File metadata
- Download URL: django-forms-ext-0.0.8.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684dbfe55c1dd29c5fb3fac10a6b54ec4c659177c4792a56c1bb513ea2d02b57 |
|
MD5 | 1b415479898e7d9b83459e08fbf815c1 |
|
BLAKE2b-256 | 8669c934b7350b660e38f383a1f1c8a715e0c4f492b631892f8428feb690642a |