Exemplo n.º 1
0
def subscription_styles_get(plan, ver):
    styles = settings.local.sub_styles[plan]

    return utils.styles_response(
        styles['etag'],
        styles['last_modified'],
        styles['data'],
    )
Exemplo n.º 2
0
def subscription_styles_get(plan, ver):
    styles = settings.local.sub_styles[plan]

    return utils.styles_response(
        styles['etag'],
        styles['last_modified'],
        styles['data'],
    )
Exemplo n.º 3
0
def subscription_styles_get(plan, ver):
    try:
        styles = settings.local.sub_styles[plan]
    except KeyError:
        subscription.update()
        styles = settings.local.sub_styles[plan]

    return utils.styles_response(
        styles['etag'],
        styles['last_modified'],
    )
Exemplo n.º 4
0
def subscription_styles_get(plan, ver):
    try:
        styles = settings.local.sub_styles[plan]
    except KeyError:
        subscription.update()
        styles = settings.local.sub_styles[plan]

    return utils.styles_response(
        styles['etag'],
        styles['last_modified'],
        styles['data'],
    )