Remove the SITE_ROOT settings variable and use Django's MEDIA_ROOT instead.

By default MEDIA_ROOT will point to a new 'media' inside Mayan's main directory.
This commit is contained in:
Roberto Rosario
2014-07-11 01:06:50 -04:00
parent 3f9adb0922
commit f2c351fbc7
6 changed files with 9 additions and 6 deletions

View File

@@ -120,7 +120,6 @@ class VirtualEnv(object):
yield self.extract_dependency(item)
def __init__(self):
self.requirements_file_path = os.path.join(settings.SITE_ROOT, 'requirements', 'production.txt')
if not PIP:
raise PIPNotFound