You can add "editable=False" to you database model.  This prevents it
from showing up in Admin,  though of course it can still be edited
directly in the DB.

MerMer


Ross Burton wrote:

> Hi,
>
> Is it possible to have fields in the model that can be set at object
> creation, but are immutable after that?  I have an "original estimate"
> field that should only be set when creating the object, and never
> edited after that.
> 
> Thanks,
> Ross


--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to