Re: Non editable fields in admin

2008-07-06 Thread Yuri Baburov
Hi Alex, Check out this: http://www.djangosnippets.org/snippets/414/ and this: http://www.djangosnippets.org/snippets/323/ On Sun, Jul 6, 2008 at 12:47 PM, Alex Rades <[EMAIL PROTECTED]> wrote: > You mean this? > > http://code.djangoproject.com/wiki/NewformsHOWTO#Q:HowdoIchangetheattributesforaw

Re: Non editable fields in admin

2008-07-05 Thread Alex Rades
You mean this? http://code.djangoproject.com/wiki/NewformsHOWTO#Q:HowdoIchangetheattributesforawidgetonasinglefieldinmymodel . It seems there is quite a lot of code involved for each readonly field you want do display... something like readonly_fields would be way better IMHO. On Fri, Jul 4, 200

Non editable fields in admin

2008-07-04 Thread Alex Rades
Hi, I'm writing an application which makes a pretty heavy use of the newforms-admin administrative site. One recurring need is displaying of informative fields (fields which should not be editable from the admin site, but only viewed). For example, imagine to have a DateField field into a Story cl