Files @ 8cb1f3f685eb
Branch filter:

Location: website/www/conservancy/__init__.py

brett
js: Use three-part progressbar when no middle goal defined.

Since our current fundraiser doesn't have a "middle goal," this makes
it a little easier to maintain the template and do the math.
1
2
3
4
5
6
from django.shortcuts import render_to_response
from django.template import RequestContext

def render_template_with_context(request, template_path, context_dict):
    return render_to_response(template_path, context_dict,
                              context_instance=RequestContext(request))