website/www/conservancy/apps/fundgoal/views.py
Bradley M. Kuhn d73018440a Initial hack at a fundraising goal application.
This simple application will simply store the code name and the to goal
of each fundraiser.  The so_far number will likely just be updated by
some external script, modifying the appropriate entry in the SQL
database.
2015-03-08 17:40:24 -07:00

2 lines
120 B
Python

from models import FundraisingGoal # relative import
from django.shortcuts import get_object_or_404, render_to_response