'Goes through all users and adds API keys for any that don\'t have one.'

def handle(self, **options):

    self.verbosity = int(options.get(u'verbosity', 1))
    User = get_user_model()
    for user in User.objects.all().iterator():
        try:
            api_key = ApiKey.objects.get(user=user)
            if (not api_key.key):
                api_key.save()
                if (self.verbosity >= 1):
                    print((u"Generated    a    new    key    for    '%s'" % user.username))
        except ApiKey.DoesNotExist:
            api_key = ApiKey.objects.create(user=user)
            if (self.verbosity >= 1):
                print((u"Created    a    new    key    for    '%s'" % user.username))
