Django read-only Model
How can I make a django model read-only? There seems to be no metadata option
read_only or alike in django. Well it's easy to do in the admin, but I am creating a model that serves a DB view, which is, at least in MariaDB not writable. So I want to throw an error when someone tries to update data in the view.
Continue reading →