Saturday, September 5, 2020ΒΆ

I continued to work on the LETS tutorial (A Local Exchange Trade System). I added Step 4 : User types.

Optimization:

class User(...):
    ...
  def has_required_roles(self, *args):
      return self.user_type.has_required_roles(*args)