code: def create_user(self, ):
          
          name = self.username_le.text()
          if not name:
              self.username_le.setPlaceholderText("Please provide a username.")
              return
          first = self.first_le.text()
          last = self.last_le.text()
          email = self.email_le.text()
          try:
              user = djadapter.models.User(username=name, first_name=first, last_name=last, email=email)
              user.save()
              for prj in self.projects:
                  prj.users.add(user)
              for task in self.tasks:
                  task.users.add(user)
              self.user = user
              self.accept()
          except:
              log.exception("Could not create new assettype")
docs: Create a user and store it in the self.user
  
          :returns: None
          :rtype: None
          :raises: None