better dummy import for Eclipse support, thanks Anthony

This commit is contained in:
Massimo Di Pierro
2012-04-05 19:07:08 -05:00
parent d594b30a69
commit 309f8207b3
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-04-05 18:51:12) dev
Version 1.99.7 (2012-04-05 19:06:57) dev
+12
View File
@@ -25,11 +25,23 @@ if 0:
from globals import Request, Response, Session
from cache import Cache
from languages import translator
from tools import Auth, Crud, Mail, Service, PluginManager
# API objects
request = Request()
response = Response()
session = Session()
cache = Cache(request)
T = translator(request)
# Objects commonly defined in application model files
# (names are conventions only -- not part of API)
db = DAL()
auth = Auth(db)
crud = Crud(db)
mail = Mail()
service = Service()
plugins = PluginManager()