Show More
@@ -2,13 +2,17 b' import logging' | |||
|
2 | 2 | from os.path import dirname as dn |
|
3 | 3 | from sqlalchemy.engine import create_engine |
|
4 | 4 | import os |
|
5 | import sys | |
|
6 | ROOT = dn(dn(dn(os.path.realpath(__file__)))) | |
|
7 | sys.path.append(ROOT) | |
|
8 | ||
|
5 | 9 | from pylons_app.model.db import Users |
|
6 | 10 | from pylons_app.model.meta import Session |
|
7 | 11 | |
|
8 | 12 | from pylons_app.lib.auth import get_crypt_password |
|
9 | 13 | from pylons_app.model import init_model |
|
10 | 14 | |
|
11 | ROOT = dn(dn(dn(os.path.realpath(__file__)))) | |
|
15 | ||
|
12 | 16 | logging.basicConfig(level=logging.DEBUG, format='%(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s') |
|
13 | 17 | from pylons_app.model.meta import Base |
|
14 | 18 |
General Comments 0
You need to be logged in to leave comments.
Login now