enabling readonly inlines
Hi
I have two models namely Test and UserTest with one to many
relationship.In TestAdmin i have tabular inline for UserTest.
I can add or delete test but can't modify test's fields but in same
object i can add UserTest model but can't modify previously added
UserTest.
So i kept it as readonly by overriding the admin method
get_readonly_fields
but when i click on add another usertest i get a row added to tabular
inline all fields as read only with none values
What i need is to add another user test ,so all fields should be
enabled
and i don't want to enable all fields of tabular inline with java
script
Can u please help me out with this issue
thank you in advance
--
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