In your form's __init__ function, you can dynamically add items to its
self.fields. You can dynamically supply the label value as well, so what is
shown on-screen will be properly labeled.
So, you'd pull from your database, then create (in code) a field (such as a
forms.CharField or forms.BooleanField), assign it a label, then update your
self.fields dictionary with that field.
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.