Reduce directory struture complexity
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user