diff --git a/rattail_demo/web/views/users.py b/rattail_demo/web/views/users.py index 73aed0d..0cdf5d4 100644 --- a/rattail_demo/web/views/users.py +++ b/rattail_demo/web/views/users.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8; -*- """ User views """ @@ -14,10 +14,10 @@ class UsersView(base.UsersView): """ def editable_instance(self, user): - return user.uuid != '28eeee92bcf411e6a7c23ca9f40bc550' + return user.username not in ('chuck', 'demo') def deletable_instance(self, user): - return user.uuid != '28eeee92bcf411e6a7c23ca9f40bc550' + return user.username not in ('chuck', 'demo') def includeme(config):