Reduce directory struture complexity

This commit is contained in:
Roberto Rosario
2014-06-19 15:42:06 +02:00
parent 9220beb450
commit fed1bb7985
5 changed files with 1 additions and 4 deletions
-11
View File
@@ -1,11 +0,0 @@
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mayan.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
View File
@@ -9,12 +9,9 @@ reverse_lazy = lazy(reverse, str)
ugettext = lambda s: s
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
BASE_DIR = os.path.dirname(__file__)
SITE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
# PROJECT_ROOT is deprecated
# PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), './'))
sys.path.append(os.path.join(BASE_DIR, 'apps'))
PROJECT_TITLE = 'Mayan EDMS'