diff pylons_app/model/__init__.py @ 473:6b934c9607e7 celery

Improved testing scenarios. Made test env creator Fixed hg_model error message some other tweeks and fixes Models fixe for uniq email, and removed some extra not needed imports from model main module
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 13 Sep 2010 01:23:58 +0200
parents 564e40829f80
children
line wrap: on
line diff
--- a/pylons_app/model/__init__.py	Sun Sep 12 22:42:03 2010 +0200
+++ b/pylons_app/model/__init__.py	Mon Sep 13 01:23:58 2010 +0200
@@ -1,15 +1,8 @@
 """The application's model objects"""
 import logging
-import sqlalchemy as sa
-from sqlalchemy import orm
 from pylons_app.model import meta
-from pylons_app.model.meta import Session
 log = logging.getLogger(__name__)
 
-# Add these two imports:
-import datetime
-from sqlalchemy import schema, types
-
 def init_model(engine):
     """Call me before using any of the tables or classes in the model"""
     log.info("INITIALIZING DB MODELS")