예제 #1
0
def all_user_tags_json():
    result = {}

    if globals.user and globals.user.is_authenticated():
        result = get_user_tags(globals.request)

    return simplejson.dumps(result)
예제 #2
0
def all_user_tags_json():
    result = {}

    if globals.user and globals.user.is_authenticated():
        result = get_user_tags(globals.request)

    return simplejson.dumps(result)
예제 #3
0
    def render(self, context):
        result = {}

        if globals.user and globals.user.is_authenticated():
            result = get_user_tags(globals.request)

        context['all_user_tags'] = result

        return ''
예제 #4
0
    def render(self, context):
        result = {}

        if globals.user and globals.user.is_authenticated():
            result = get_user_tags(globals.request)

        context['all_user_tags'] = result

        return ''