docs: def import_admins(self):
          """ save admins to local DB """
          self.message('saving admins into local DB')
  
          saved_admins = []
  
          for olduser in OldUser.objects.all():
              try:
                  user = User.objects.get(Q(username=olduser.username) | Q(email=olduser.email))
              except User.DoesNotExist:
                  user = User()
              except User.MultipleObjectsReturned:
                  continue
  
              user.username = olduser.username
              user.password = olduser.password
              user.first_name = olduser.first_name
              user.last_name = olduser.last_name
              user.email = olduser.email
              user.is_active = olduser.is_active
              user.is_staff = olduser.is_staff
              user.is_superuser = olduser.is_superuser
              user.date_joined = olduser.date_joined
              user.full_clean()
              user.save(sync_emailaddress=False)
              saved_admins.append(user)
  
              # mark email address as confirmed if feature is enabled
              if EMAIL_CONFIRMATION and EmailAddress.objects.filter(email=user.email).count() is 0:
                  try:
                      email_address = EmailAddress(user=user, email=user.email, verified=True, primary=True)
                      email_address.full_clean()
                      email_address.save()
                  except Exception:
                      tb = traceback.format_exc()
                      self.message('Could not save email address for user %s, got exception:\n\n%s' % (user.username, tb))
  
          self.message('saved %d admins into local DB' % len(saved_admins))
          self.saved_admins = saved_admins