Ejemplo n.º 1
0
def public_meetings(request):
    meetings = Meeting.get_meetings()
    context = RequestContext(request, {
        'meetings': meetings,
        
    })

    return render_to_response('sharing_meetings.html', context)
Ejemplo n.º 2
0
def admin_meetings(request):
    if request.user.is_superuser:
        meetings = Meeting.get_meetings(request.user, admin=1)
        context = RequestContext(request, {
            'meetings': meetings,
            })
        return render_to_response('admin_meetings.html', context)
    else:
        return error(request, text=_(u'sorry!You can`t show this page'))
Ejemplo n.º 3
0
def meetings(request):

    my_meetings = Meeting.get_meetings(request.user)
    context = RequestContext(request, {
        'my_meetings': my_meetings,
        
    })

    return render_to_response('meetings.html', context)
Ejemplo n.º 4
0
def meetings(request):

    #meetings = Meeting.objects.all()
    meetings = Meeting.get_meetings()

    context = RequestContext(request, {
        'meetings': meetings,
    })

    return render_to_response('meetings.html', context)
Ejemplo n.º 5
0
def meetings(request):

    #meetings = Meeting.objects.all()
    meetings = Meeting.get_meetings()

    context = RequestContext(request, {
        'meetings': meetings,
    })

    return render_to_response('meetings.html', context)