docs: def setReminder(self,occurrence):
          '''
          This function is called to create the actual reminders for each occurrence that is created.
          '''
          sendReminderTo = self[0].cleaned_data['sendReminderTo']
          sendReminderWhen = self[0].cleaned_data['sendReminderWhen']
          sendReminderGroup = self[0].cleaned_data['sendReminderGroup']
          sendReminderUsers = self[0].cleaned_data['sendReminderUsers']
  
          # Set the new reminder's time
          new_reminder_time = occurrence.startTime - timedelta(minutes=int(float(sendReminderWhen)))
          new_reminder = EventReminder(eventOccurrence=occurrence,time=new_reminder_time)
          new_reminder.save()
  
          # Set reminders based on the choice the user made
          if sendReminderTo == 'all':
              user_set = User.objects.filter(Q(staffmember__isnull=False) | Q(is_staff=True))
          elif sendReminderTo == 'me':
              user_set = User.objects.filter(id=occurrence.event.submissionUser.id)
          elif sendReminderTo == 'users':
              user_set = User.objects.filter(**{'id__in': sendReminderUsers})
          elif sendReminderTo == 'group':
              user_set = User.objects.filter(**{'groups': sendReminderGroup})
          else:
              user_set = []
  
          for user in user_set:
              new_reminder.notifyList.add(user)