#3247: [design-q] [patch] Disable field creation in forms for hidden model fields ---------------------------------+------------------------------------------ Reporter: [EMAIL PROTECTED] | Owner: adrian Type: defect | Status: new Priority: normal | Milestone: Component: django.newforms | Version: Severity: normal | Resolution: Keywords: | ---------------------------------+------------------------------------------ Comment (by Philipp Keller <[EMAIL PROTECTED]>):
I've read the following [http://www.b-list.org/weblog/2006/11/02/django-tips-auto-populated-fields http://www.b-list.org/weblog/2006/11/02/django-tips-auto-populated- fields]: {{{ The created and updated fields now have editable=False. This means that they will never show up in an automatic manipulator or in the admin. They’re still required, they just won’t be displayed anywhere. }}} So I supposed this behaviour is meant for newforms too and just never got implemented. But for the discussion: shouldn't be the other way round? I'd expect a editable=false field not to appear in a automatic generated form. I'd expect the form field list for admin in a configuration in the admin subclass. -- Ticket URL: <http://code.djangoproject.com/ticket/3247#comment:> Django <http://code.djangoproject.org/> The web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---