code: def get_preferred_pic(user):
      
  
      # FIXME: remove this hardcoded junk
      preferred_pic = {"preferred_photo": "AUTO"}
      if user.preferred_photo:
          preferred_pic["preferred_photo"] = user.preferred_photo.grade_number
  
      return preferred_pic
docs: Get a user's preferred picture attributes to pass as an initial value to a
      PreferredPictureForm.