new_contents: from app import db
  
  def save(data):
      try:
          print(data)
          db.session.add(data)
          db.session.commit()
      except Exception as e:
          raise e
  
subject: Add save function for use across the application