> You still haven't shown that it doesn't hide the field, eg by posting > the output of frm.as_p(), where as I have shown conclusively that it > does, so I think something else is going on here. Are you sure the > field 'itemid' exists on your model?
Thanks Tom. The field itemid does exist in the model. I am getting a different result when I use as_p() interactively than what I get non- interactively. With the call to as_p I get the desired result, like you did, wherein the field is hidden: u'<p><label for="id_title">Title:</label> <input id="id_title" type="text" name="title" maxlength="255" /></p>\n<p><label for="id_summary">Summary:</label> <textarea id="id_summary" rows="10" cols="40" name="summary"></textarea></p>\n<p><label for="id_body">Body:</label> <textarea id="id_body" rows="10" cols="40" name="body"></textarea></p>\n<p><label for="id_category">Category:</ label> <select name="category" id="id_category">\n<option value="" selected="selected">---------</option>\n<option value="1">Old News</ option>\n<option value="2">Breaking</option>\n</select></p>\n<p><label for="id_author">Author:</label> <select multiple="multiple" name="author" id="id_author">\n<option value="1">Ty Cobb</option> \n<option value="2">Babe Ruth</option>\n<option value="3">Mike Schmidt</option>\n</select> <span class="helptext"> Hold down "Control", or "Command" on a Mac, to select more than one.</span></p> \n<p><label for="id_path">Path:</label> <input id="id_path" type="text" name="path" maxlength="255" /><input type="hidden" name="itemid" id="id_itemid" /></p>' Non-interactively, in the automatic admin, what I get is a visible text input below the title field and above the summary field. Here's the relevant model and modelform: http://pastebin.com/azKgdraw -Ryan -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.