List Info

Thread: editable=False and "Could not find Formfield or InlineObjectCollection named ..."




editable=False and "Could not find Formfield or InlineObjectCollection named ..."
user name
2006-07-31 00:46:38
When I set editable=False in a model and modify the
"fields" attribute
of the Admin class, a "Could not find Formfield or
InlineObjectCollection named ..." is generated.

Removing the editable=False makes it work again.

Is this a bug, or working as it is supposed to?

Thanks,

Corey


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

editable=False and "Could not find Formfield or InlineObjectCollection named ..."
user name
2006-07-31 08:09:59
On Sun, 2006-07-30 at 17:46 -0700, Corey wrote:
> When I set editable=False in a model and modify the
"fields" attribute
> of the Admin class, a "Could not find Formfield
or
> InlineObjectCollection named ..." is generated.

It's not quite clear *how* you modify the fields attribute.
However, if
you are trying to include a non-editable field in the fields
list for
Admin, you can't do that yet. At some point it will be
implemented
(there are one or two tickets open for it and it keeps
popping up on my
radar as something I need), but it's not there yet.

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

editable=False and "Could not find Formfield or InlineObjectCollection named ..."
user name
2006-07-31 14:01:49
Malcolm,

Thanks for the info. By modifying the fields attribute, I
meant to say
that I merely added a fields attribute to the admin class.

It would be nice to have disabled fields showing, but I
understand that
there are probably some more pressing issues.

Thanks,

Corey


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )