#15503: Admin readonly_fields should have a hidden field
----------------------------------+-----------------------------------------
 Reporter:  dahool                |          Owner:  nobody    
   Status:  new                   |      Milestone:            
Component:  django.contrib.admin  |        Version:  1.2       
 Keywords:  readonly_fields       |   Triage Stage:  Unreviewed
Has patch:  0                     |  
----------------------------------+-----------------------------------------
 I customized the UserAdmin form setting '''readonly_fields =
 ('username',)''' but on submit the field is still being validated and
 failing as there is no value for username.
 readonly_fields should also generate a hidden field with the current value
 to use on validation, or disable validation on this fields.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15503>
Django <http://code.djangoproject.com/>
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 [email protected].
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.

Reply via email to