<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_shot(self, ):
 """Create a shot and store it in the self.shot :returns: None :rtype: None :raises: None """

        name = self.name_le.text()
        if not name:
            self.name_le.setPlaceholderText("Please enter a name!")
            return
        desc = self.desc_pte.toPlainText()
        try:
            shot = djadapter.models.Shot(sequence=self.sequence, project=self.sequence.project, name=name, description=desc)
            shot.save()
            self.shot = shot
            self.accept()
        except:
            log.exception("Could not create new shot")