def login(self, **credentials):
        if super(MessagesClient, self).login(**credentials):
            self.user = authenticate(**credentials)
            return True
        else:
            self.user = AnonymousUser()
        return False
Take command and arguments and call them using Django.
dataset/ETHPy150Open AliLozano/django-messages-extends/messages_extends/tests.py/MessagesClient.login--crossover with--dataset/ETHPy150Open amitu/importd/importd/__init__.py/D._handle_management_command