ôÏ remove fields from from you don't need to use __init__
form_for_model, form_for_instance function has _fields_
parameter
where you can specify all the fields you need/ Example:
Form = form_for_model( Article, fields = (
"title", "text",
"tags" ) )
Creates form with this three fields of model.
--~--~---------~--~----~------------~-------~--~----~
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 htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|