|
@@ -66,7 +66,7 @@ def add_form():
|
66
|
66
|
def edit_form(id):
|
67
|
67
|
administracion = db.Table('administracion', metadata, autoload=True, autoload_with=engine)
|
68
|
68
|
usuarios = db.Table('usuarios', metadata, autoload=True, autoload_with=engine)
|
69
|
|
- query = db.select([usuarios, administracion.columns.otro1, administracion.columns.otro2])
|
|
69
|
+ query = db.select([usuarios, administracion.columns.posicion, administracion.columns.otro])
|
70
|
70
|
query = query.select_from(usuarios.join(administracion, usuarios.columns.id == administracion.columns.user_id)).where(administracion.columns.user_id == id)
|
71
|
71
|
result = connection.execute(query).fetchall()
|
72
|
72
|
# print(result)
|