##// END OF EJS Templates
fixed import errors on db_manage
marcink -
r249:bad9ccac default
parent child Browse files
Show More
@@ -1,16 +1,15 b''
1 1 from os.path import dirname as dn, join as jn
2 import os
3 import sys
4 ROOT = dn(dn(dn(os.path.realpath(__file__))))
5 sys.path.append(ROOT)
6
2 7 from pylons_app.lib.auth import get_crypt_password
3 8 from pylons_app.model import init_model
4 9 from pylons_app.model.db import User, Permission
5 10 from pylons_app.model.meta import Session, Base
6 11 from sqlalchemy.engine import create_engine
7 12 import logging
8 import os
9 import sys
10 ROOT = dn(dn(dn(os.path.realpath(__file__))))
11 sys.path.append(ROOT)
12
13
14 13
15 14 log = logging.getLogger('db manage')
16 15 log.setLevel(logging.DEBUG)
General Comments 0
You need to be logged in to leave comments. Login now