code: def as_detail(cls, protocol=Protocol.http, *args, **kwargs):
          ''' returns detail views '''
          return cls.as_view('detail', protocol, *args, **kwargsf as_detail(cls, protocol=Protocol.http, *args, **kwargs):
          ''' returns detail views '''
          return cls.as_view('detail', protocol, *args, **kwargs)
docs: returns detail views