Ouput ping status on django template

1 · Vicente G. Reyes · Oct. 6, 2019, 3:15 p.m.
Summary
Ouput ping status on django template Oct 6 '19 Comments: 4 Answers: 1 0 I have a model that contains domain names which I need to ping. I was able to create the view but I couldn't figure out how to output it on the template. def index(request, page): template = "home.html" if request.method == 'POST': csv_file = request.FILES['file'] if not csv_file.name.endswith('.csv'): messages.error(request, 'Please… ...