code: def app_media_doc_root(self):  # pylint: disable=R0201
          
          app_dir = os.path.abspath(os.path.dirname(__file__))
          media_root = os.path.join(app_dir, 'media')
  
          return media_root
docs: Get application media document (file) root.