Beispiel #1
0
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"),
                   ))
Beispiel #2
0
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"),
                   ))
Beispiel #3
0
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"),
                   ))
Beispiel #4
0
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"),
                   ))
Beispiel #5
0
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"),
                   ))
Beispiel #6
0
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"),
                   ))
Beispiel #7
0
def submissiongroups(request, pkid):
    return update(request, pkid, SubmissionGroup, SubmissionGroupForm)
Beispiel #8
0
def submissions(request, pkid):
    return update(request, pkid, Submission, SubmissionForm)