Wednesday, August 25, 2010

Re: readonly form field

You could use a widget

http://stackoverflow.com/questions/1827526/django-creating-a-form-field-thats-read-only-using-widgets

Best regards,
Sævar

On Aug 24, 7:02 pm, Rodrigo Lombardo <rod...@gmail.com> wrote:
> Hi,
>
> I'm new to Django and I'm learning a lot reading the docs and some books.
> I'm trying to generate a form with some inactive fields and let the
> user change only some fields. The way I found to do this is described
> here:http://stackoverflow.com/questions/324477/in-a-django-form-how-to-mak...
>
> My question is: Nowadays, there's a better way to do the same thing?
>
> Thanks,
> Rodrigo Nicola
> Twitter:http://www.twitter.com/rodnic

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate