Added a 'mutates' decorator, to indicate a view function that can mutate the database, and so should throw an error in real-only mode