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