Explorar el Código

Bugfix in query.py

Yann Weber hace 8 años
padre
commit
6fd420417a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      lodel/leapi/query.py

+ 2
- 1
lodel/leapi/query.py Ver fichero

455
                     logger.debug(msg)
455
                     logger.debug(msg)
456
         if len(ref_dict) == 0:
456
         if len(ref_dict) == 0:
457
             return NameError(   "No field named '%s' in referenced objects %s"
457
             return NameError(   "No field named '%s' in referenced objects %s"
458
-                                % (ref_field, ref_class.__name__))
458
+                                % (ref_field,
459
+                                    ','.join([rc.__name__ for rc in ref_classes])))
459
         return (fieldname, ref_dict)
460
         return (fieldname, ref_dict)
460
  
461
  
461
 
462
 

Loading…
Cancelar
Guardar