|
@@ -1,14 +1,15 @@
|
1
|
1
|
#-*- coding: utf-8 -*-
|
2
|
2
|
|
3
|
3
|
from EditorialModel.components import EmComponent
|
4
|
|
-from EditorialModel.fieldtypes import EmField_boolean, EmField_char, EmField_integer, EmField_icon, get_field_type
|
5
|
|
-from EditorialModel.fieldgroups import EmFieldGroup
|
6
|
|
-from EditorialModel.classes import EmClass
|
|
4
|
+from EditorialModel.fieldtypes import EmField_boolean, EmField_char, EmField_integer, EmField_icon # , get_field_type
|
|
5
|
+# from EditorialModel.fieldgroups import EmFieldGroup
|
|
6
|
+# from EditorialModel.classes import EmClass
|
7
|
7
|
|
8
|
|
-from Database import sqlutils
|
9
|
|
-from Database.sqlalter import DropColumn, AddColumn
|
|
8
|
+# from Database import sqlutils
|
|
9
|
+# from Database.sqlalter import DropColumn, AddColumn
|
|
10
|
+
|
|
11
|
+# import sqlalchemy as sql
|
10
|
12
|
|
11
|
|
-import sqlalchemy as sql
|
12
|
13
|
|
13
|
14
|
## EmField (Class)
|
14
|
15
|
#
|
|
@@ -110,4 +111,4 @@ class EmField(EmComponent):
|
110
|
111
|
# res = conn.execute(req)
|
111
|
112
|
# row = res.fetchone()
|
112
|
113
|
#</SQL>
|
113
|
|
- # return EmClass(row['class_id'])
|
|
114
|
+ # return EmClass(row['class_id'])
|