Created
July 24, 2019 23:04
This file contains hidden or 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
from django.shortcuts import redirect | |
from .tasks import endure_ten_seconds | |
def generate_report(request): | |
#Do something | |
endure_ten_seconds() | |
return redirect('/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment