Beispiel #1
0
def index(request, template="scheduler/index.html"):
    context = {}
    schedules = EventSchedule.objects.all()
    context['schedules'] = paginated(request, schedules)
    return render_to_response(template,
                                context,
                                context_instance=RequestContext(request))
Beispiel #2
0
def messaging(req):
    return render_to_response(
        "messaging/dashboard.html", {
            "people": paginated(req, Contact.objects.all()),
            "filters": filters.fetch()
        }, context_instance=RequestContext(req)
    )
Beispiel #3
0
def index(request, template="scheduler/index.html"):
    context = {}
    schedules = EventSchedule.objects.all()
    context['schedules'] = paginated(request, schedules)
    return render_to_response(template,
                              context,
                              context_instance=RequestContext(request))
Beispiel #4
0
def messaging(req):
    return render_to_response("messaging/dashboard.html", {
        "people": paginated(req, Contact.objects.all()),
        "filters": filters.fetch()
    },
                              context_instance=RequestContext(req))
Beispiel #5
0
def messaging(request):
    context = {
        "people": paginated(request, Contact.objects.all()),
    }
    return render(request, "messaging/dashboard.html", context)