def autoimport(self, request): """Autoimport documents from S3""" # pylint: disable=no-self-use autoimport.apply_async() messages.info(request, 'Auotimport started') return HttpResponseRedirect( reverse('admin:foia_foiarequest_changelist'))
def autoimport(self, request): """Autoimport documents from S3""" autoimport.apply_async() messages.info(request, "Auotimport started") return HttpResponseRedirect( reverse("admin:foia_foiarequest_changelist"))