Exemple #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"),
                   ))
Exemple #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"),
                   ))
Exemple #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"),
                   ))
Exemple #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"),
                   ))
Exemple #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"),
                   ))
Exemple #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"),
                   ))
Exemple #7
0
def submissiongroups(request, pkid):
    return update(request, pkid, SubmissionGroup, SubmissionGroupForm)
Exemple #8
0
def submissions(request, pkid):
    return update(request, pkid, Submission, SubmissionForm)