def product(request, pkid): return update(request, pkid, Product, ProductForm, reverse('product.read', args=(pkid,)), (('/', 'IRIS'), (reverse('packagedb'), 'Package Database'), (reverse('product.read'), 'Products'), (None, "Update"), ))
def gittree(request, pkid): return update(request, pkid, GitTree, GitTreeForm, reverse('gittree.read', args=(pkid,)), (('/', 'IRIS'), (reverse('packagedb'), 'Package Database'), (reverse('gittree.read'), 'Git trees'), (None, "Update"), ))
def package(request, pkid): return update(request, pkid, Package, PackageForm, reverse('package.read', args=(pkid,)), (('/', 'IRIS'), (reverse('packagedb'), 'Package Database'), (reverse('package.read'), 'Packages'), (None, "Update"), ))
def license(request, pkid): return update(request, pkid, License, LicenseForm, reverse('license.read', args=(pkid,)), (('/', 'IRIS'), (reverse('packagedb'), 'Package Database'), (reverse('license.read'), 'Licenses'), (None, "Update"), ))
def domain(request, pkid): return update(request, pkid, Domain, DomainForm, reverse('domain.read', args=(pkid,)), (('/', 'IRIS'), (reverse('packagedb'), 'Package Database'), (reverse('domain.read'), 'Domains'), (None, "Update"), ))
def subdomain(request, pkid): return update(request, pkid, SubDomain, SubDomainForm, reverse('subdomain.read', args=(pkid,)), (('/', 'IRIS'), (reverse('packagedb'), 'Package Database'), (reverse('domain.read'), 'Domains'), (reverse('domain.read', args=(request.GET.get('domain'),)), request.GET.get('name')), (None, "Update"), ))
def submissiongroups(request, pkid): return update(request, pkid, SubmissionGroup, SubmissionGroupForm)
def submissions(request, pkid): return update(request, pkid, Submission, SubmissionForm)