title: Build dict through for loop without repetition
body: <p>My code is currently very repetitive with <code>grouped_events.setdefault('VAR', []).append(event)</code> and <code>event_data_by_organizer[organizer.pk]['events_draft'] = grouped_events.get('VAR')</code>. Do you see any better way in writing this?</p>
  
  <p>Currently, my best idea would be to write a function above where I insert the strings such as 'archived' etc.</p>
  
  <pre><code>   # Events by status
      grouped_events = {}
      for event in events:
          if event.status == EventStatus.ARCHIVED:
              grouped_events.setdefault('archived', []).append(event)
          elif event.status == EventStatus.DRAFT:
              grouped_events.setdefault('draft', []).append(event)
          elif event.is_over:
              grouped_events.setdefault('past', []).append(event)
          else:
              grouped_events.setdefault('live', []).append(event)
  
      event_data_by_organizer[organizer.pk][
          'events_archived'
      ] = grouped_events.get('archived')
      event_data_by_organizer[organizer.pk]['events_draft'] = grouped_events.get(
          'draft'
      )
      event_data_by_organizer[organizer.pk]['events_past'] = grouped_events.get(
          'past'
      )
      event_data_by_organizer[organizer.pk]['events_live'] = grouped_events.get(
          'live'
      )
  </code></pre>