from django.shortcuts import render from django.http import HttpResponse from django.template import loader from django.shortcuts import redirect from django.contrib.auth import authenticate from django.views.generic.base import TemplateView import vyos