From 8d213a5b87eb5e95def7fb959f2daccf1bc03cbb Mon Sep 17 00:00:00 2001 From: ilvalle Date: Fri, 27 May 2016 14:42:22 +0200 Subject: [PATCH] fix local import in __init__.py --- gluon/__init__.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gluon/__init__.py b/gluon/__init__.py index 10441d4b..9ff79614 100644 --- a/gluon/__init__.py +++ b/gluon/__init__.py @@ -29,20 +29,20 @@ except ImportError: "You can also download a complete copy from http://www.web2py.com." ) -from globals import current -from html import * -from validators import * -from http import redirect, HTTP -from dal import DAL, Field -from sqlhtml import SQLFORM, SQLTABLE -from compileapp import LOAD +from .globals import current +from .html import * +from .validators import * +from .http import redirect, HTTP +from .dal import DAL, Field +from .sqlhtml import SQLFORM, SQLTABLE +from .compileapp import LOAD # Dummy code to enable code completion in IDE's. if 0: - from globals import Request, Response, Session - from cache import Cache - from languages import translator - from tools import Auth, Crud, Mail, Service, PluginManager + 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()