Ouput ping status on django template

twitter logo github logo Updated on ・1 min read

Ouput ping status on django template

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
twitter logo DISCUSS
Classic DEV Post from Feb 10

Is Haskell bad for FP?

highcenbug🇵🇭 profile image
Freelance Developer | Volunteer Developer at Project: Website

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️