This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @login_required | |
# def optimize_campaigns(request): | |
# """ | |
# """ | |
# command_object = CommandMainRoutine() | |
# # TODO: Aqui es donde hay que implementar la tarea Celery, para cuando termine esto, mande un mensaje avisando que termino | |
# # command_object.handle(**{'campaign_id': campaign_id}) | |
# | |
# # optimize_campaign_task.delay(campaign_id) | |
# # lol = optimize_campaign_task.apply_async((campaign_id, ), link=finish_task.subtask()) |
NewerOlder