Tuesday, August 2, 2011

Re: add a field to a form that isn't in a model

You don't need to add the fields to your model. If the extra fields
don't appear on your page it's probably because you didn't add them to
the template.

I'm assuming you're using something like form.as_p, which probably
doesn't pick up the extra fields.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment