def image(request, pkid): return delete(request, pkid, Image, '/app/packagedb/images')
def package(request, pkid): return delete(request, pkid, Package, '/app/packagedb/packages')
def product(request, pkid): return delete(request, pkid, Product, '/app/packagedb/products')
def license(request, pkid): return delete(request, pkid, License, '/app/packagedb/licenses')
def gittree(request, pkid): return delete(request, pkid, GitTree, '/app/packagedb/gittrees')
def submissiongroups(request, pkid): return delete(request, pkid, SubmissionGroup, reverse('read_submissiongroups'))
def subdomain(request, pkid): domain = request.GET.get('domain') return delete(request, pkid, SubDomain, '/app/packagedb/domains/%s/' % (domain,))
def subdomain(request, pkid): domain = request.GET.get('domain') return delete(request, pkid, SubDomain, '/app/packagedb/domains/%s/' % (domain, ))
def domain(request, pkid): return delete(request, pkid, Domain, '/app/packagedb/domains')
def submissions(request, pkid): return delete(request, pkid, Submission, reverse('read_submissions'))