PierreR
2009-05-06 14:48:05 UTC
I don't seem to find a good way to have a hidden field in the admin
console. I can of course get the hidden field easily but the label is
still showing up. This problem is really related to the Admin app.
I have been trying to "hack" the "fieldset.html" but it is not that
easy. "is_hidden" is only available on field.field ...
The best solution is probably to get the hidden fields to go in a
different fieldset (admin wise) so I can apply a style on the fieldset
level, not on the fieldlevel.
The following solution will not work if I need to mark as hidden a
field of a base class:
http://groups.google.com/group/django-users/browse_thread/thread/10fd33e509255b4b/0f102501bfccb93c?lnk=gst&q=hidden+field+admin#0f102501bfccb93c
Any idea ? Thanks very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com
To unsubscribe from this group, send email to django-users+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
console. I can of course get the hidden field easily but the label is
still showing up. This problem is really related to the Admin app.
I have been trying to "hack" the "fieldset.html" but it is not that
easy. "is_hidden" is only available on field.field ...
The best solution is probably to get the hidden fields to go in a
different fieldset (admin wise) so I can apply a style on the fieldset
level, not on the fieldlevel.
The following solution will not work if I need to mark as hidden a
field of a base class:
http://groups.google.com/group/django-users/browse_thread/thread/10fd33e509255b4b/0f102501bfccb93c?lnk=gst&q=hidden+field+admin#0f102501bfccb93c
Any idea ? Thanks very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com
To unsubscribe from this group, send email to django-users+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---