Changeset 8037


Ignore:
Timestamp:
21/12/11 15:03:28 (8 years ago)
Author:
mnagni
Message:

linked to Django the "outer" libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/MolesManager/settings.py

    r8014 r8037  
    11# Django settings for MolesManager project. 
    2 import os 
     2import os, sys 
     3DJANGO_ROOT = os.path.dirname(__file__) 
     4PROJECT_ROOT = os.path.split(DJANGO_ROOT)[0] 
     5sys.path.insert(0, os.path.join(PROJECT_ROOT, "ascore")) 
     6sys.path.insert(0, os.path.join(PROJECT_ROOT, "db_manager")) 
     7sys.path.insert(0, os.path.join(PROJECT_ROOT, "ea_model")) 
     8sys.path.insert(0, os.path.join(PROJECT_ROOT, "ea_model_tests")) 
     9sys.path.insert(0, os.path.join(PROJECT_ROOT, "libs")) 
     10 
    311from db_manager.dbConnection import DBConnection, DBScript 
    412 
Note: See TracChangeset for help on using the changeset viewer.