On Saturday, April 28, 2012 10:35:40 AM UTC-4, Shawn Milochik wrote: > > Override the save() method to raise an exception if "self.id is not > None." >
But, that still doesn't tell the admin interface to *show* the fields as read-only (which is really what I'm interested in). If I raise an exception in save(), the admin interface will let somebody edit the fields and then give some sort of error when the click the Save button. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/POzCay3oK0wJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.