from django.shortcuts import render, redirect
from django.http import HttpResponse
from django.contrib import messages
from . import dbsearch

def deleteLicense(request):
    if request.method == "GET":
        if dbsearch.deleteLicense(request.GET.get('Lno'))==True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')

def deleteClient(request):
    if request.method == "GET":
        if dbsearch.deleteClient(request.GET.get('Tno'),request.GET.get('Lno'))==True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')
4f493076b3d8a27e8a78711cb423a33cc9055799
<mask token>

<mask token>


def deleteClient(request):
    if request.method == 'GET':
        if dbsearch.deleteClient(request.GET.get('Tno'), request.GET.get('Lno')
            ) == True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')

<mask token>


def deleteLicense(request):
    if request.method == 'GET':
        if dbsearch.deleteLicense(request.GET.get('Lno')) == True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')


def deleteClient(request):
    if request.method == 'GET':
        if dbsearch.deleteClient(request.GET.get('Tno'), request.GET.get('Lno')
            ) == True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')

from django.shortcuts import render, redirect
from django.http import HttpResponse
from django.contrib import messages
from . import dbsearch


def deleteLicense(request):
    if request.method == 'GET':
        if dbsearch.deleteLicense(request.GET.get('Lno')) == True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')


def deleteClient(request):
    if request.method == 'GET':
        if dbsearch.deleteClient(request.GET.get('Tno'), request.GET.get('Lno')
            ) == True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')

from django.shortcuts import render, redirect
from django.http import HttpResponse
from django.contrib import messages
from . import dbsearch

def deleteLicense(request):
    if request.method == "GET":
        if dbsearch.deleteLicense(request.GET.get('Lno'))==True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')

def deleteClient(request):
    if request.method == "GET":
        if dbsearch.deleteClient(request.GET.get('Tno'),request.GET.get('Lno'))==True:
            return redirect('/')
        else:
            return redirect('/')
    return redirect('/')