What it says on the tin. Is there a way to make a Django model read-only?
By this I mean a Django model in which once records have been created, they can\'t be edite
If you don't want an attempt to modify a record to fail silently:
def save(self, *args, **kwargs): if self.pk: (raise an exception) super(YourModel, self).save(*args, **kwargs) def delete(self, *args, **kwargs): (raise an exception)