Files @ c858e825c0f2
Branch filter:

Location: website/www/conservancy/

Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved
from django.shortcuts import render_to_response
from import PressRelease
from datetime import datetime, timedelta

def view(request):
    """Conservancy front page view

    Performs all object queries necessary to render the front page.

    press_releases = PressRelease.objects.all().filter(, sites=2)[:5]

    c = {
        'press_releases': press_releases,
    return render_to_response("frontpage.html", c)