static: Remove hardcoded path.

This commit is contained in:
Brett Smith 2016-12-05 21:14:45 -05:00
parent ce1b4b2528
commit 3fe5f09d18

View file

@ -4,7 +4,7 @@ from django.http import HttpResponse
from django.template import RequestContext, loader from django.template import RequestContext, loader
from conservancy.apps.fundgoal.models import FundraisingGoal as FundraisingGoal from conservancy.apps.fundgoal.models import FundraisingGoal as FundraisingGoal
STATIC_ROOT = '/home/www/website/www/conservancy/static/' STATIC_ROOT = os.path.abspath(os.path.dirname(__file__))
FILESYSTEM_ENCODING = 'utf-8' FILESYSTEM_ENCODING = 'utf-8'
def handler(request, errorcode): def handler(request, errorcode):