It's all in the documentation:

https://docs.djangoproject.com/en/1.5/ref/forms/widgets/

On Wednesday, June 19, 2013 9:37:41 AM UTC-4, tony gair wrote:
>
> Ah thanks that explains that.... I'll look into changing the readonly 
> attribute on the widget, is there a list of widgets do you know as some of 
> these are choice fields i.e. non text and non integer fields
>
>
> On Wed, Jun 19, 2013 at 1:26 PM, Timster <timsha...@gmail.com<javascript:>
> > wrote:
>
>> Where are you setting that? readonly_fields is for ModelAdmin when you 
>> are working with the admin app.
>>
>> If you want to do it in a normal form, you will need to set readonly 
>> attribute on the widget.
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/django-users/SEWttelj3h0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> django-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to