Created
October 8, 2016 03:58
-
-
Save tapanpandita/8d0226f8adeae80aa09188b26612c019 to your computer and use it in GitHub Desktop.
Old jobs code
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
@shared_task(bind=True, max_retries=settings.EVENT_MAX_RETRIES) | |
def push_event(self, event_id): | |
event = Event.objects.get(id=event_id) | |
# code to push webhook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment