Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

        def get_manage_url(request):
    url = request.application_url
    if url.endswith('/'):
        url = url[:-1]

    cfg = ptah.get_settings(ptah.CFG_ID_PTAH, request.registry)
    return '{0}/{1}'.format(url, cfg['manage'])
        


src/p/t/ptah-0.8.0/ptah/manage/__init__.py   ptah(Download)
# ptah manage api
 
from ptah.manage.manage import module
from ptah.manage.manage import get_manage_url
 

src/p/t/ptah-HEAD/ptah/manage/__init__.py   ptah(Download)
# ptah manage api
 
from ptah.manage.manage import module
from ptah.manage.manage import get_manage_url