From 554722318a8e56241064a2c4248c6eeeced72400 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 26 Jan 2015 09:22:12 -0600 Subject: [PATCH] fixed a problem with SQLFORM and DAL import --- gluon/sqlhtml.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 03007b09..d4899f42 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1723,6 +1723,8 @@ class SQLFORM(FORM): Internally will build a non-database based data model to hold the fields. """ + # this is here to avoid circular references + from gluon.dal import DAL # Define a table name, this way it can be logical to our CSS. # And if you switch from using SQLFORM to SQLFORM.factory # your same css definitions will still apply.