I'm using the admin site for editing a model. One of the fields in the model is readonly when editing. But when try to save the model while editing django gives the error "Please correct error below" and does not give a clue about where the error happens. I know the cause is the readonly field because when I disable the readonly option, I can save the model and because the error happens on the template level, the save function of the model does not get called. How can I debug this?
-- 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+unsubscribe@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.
No comments:
Post a Comment