Browse Source

Corregir error en administracion.py

Resuelve un error en administracion.py
parent
commit
f713a98c8f
2 changed files with 1 additions and 1 deletions
  1. BIN
      __pycache__/administracion.cpython-38.pyc
  2. 1
    1
      administracion.py

BIN
__pycache__/administracion.cpython-38.pyc View File


+ 1
- 1
administracion.py View File

@@ -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)