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
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
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
3 matches
Mail list logo