Esempio n. 1
0
def user_stream_count(user):
    from actstream.models import user_stream as ac_user_stream
    return ac_user_stream(user).count()
Esempio n. 2
0
def user_stream(context, user):
    from actstream.models import user_stream as ac_user_stream
    stream = ac_user_stream(user)[0:15]
    context.update({'stream': stream})
    return context
Esempio n. 3
0
def user_stream_count(user):
    return ac_user_stream(user).count()
Esempio n. 4
0
def user_stream(context, user):
    stream = ac_user_stream(user)[0:15]
    context.update({'stream': stream})
    return context
Esempio n. 5
0
def user_stream_count(user):
   return ac_user_stream(user).count()
Esempio n. 6
0
def user_stream(context, user):
    stream = ac_user_stream(user)[0:15]
    context.update({'stream': stream})
    return context