import subprocess

from django.views.generic import View
from django.shortcuts import render, redirect
from django.http import HttpResponse, request, response
from django.conf import settings
from common.utils import Zone, App


class Named(View):
    def get(self, request):
        # app install status
        # check null.zone.file

        context = {
            'app': App.get('named')
        }
        return render(request, 'configure/named.html', context)

    def post(self, request):
        pass
