code: def get_renderers(self):
          
          renderers = super(WithDynamicViewSetMixin, self).get_renderers()
          if settings.ENABLE_BROWSABLE_API is False:
              return [
                  r for r in renderers if not isinstance(r, BrowsableAPIRenderer)
              ]
          else:
              return renderers
docs: Optionally block Browsable API rendering.