File diff b3f019265b24 → f8f37dd39c6b
www/conservancy/static/views.py
Show inline comments
 
import os.path
 
from django.http import HttpResponse
 
from django.template import RequestContext, loader
 
from conservancy.apps.fundgoal.models import FundraisingGoal as FundraisingGoal
 

	
 
def handler(request, errorcode):
 
    STATIC_ROOT = '/home/www/website/www/conservancy/static/'
 
    path = 'error/' + errorcode + '/index.html'
 
    fullpath = STATIC_ROOT + path
 
    if not os.path.exists(fullpath):