Have a look at this section and seder if it helps:
https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#using-a-subset-of-fields-on-the-form
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
h
I'm sorry to tell you that ModelForms don't seem to have this
functionality, but I'm happy to tell you that ModelAdmins do.
What it does, basically, is to return this:
{
'label': label_for_field(field, self.opts.model, self.opts),
'widget': {
'is_hidden': False
},
'requ
2 matches
Mail list logo