Hi @gi0baro
in shell:
>>> row = Provincia.create(nombre='Prueba 01')
>>> row
<Row {'id': 24, 'errors': {}}>
>>> row.id
24
>>> row.id.as_dict()
Traceback (most recent call last):
File "<console>", line 1, in <module>
TypeError: 'NoneType' object is not callable
>>> row.id.nombre
'Prueba 01'
>>> row.id.as_dict()
{'id': 24, 'nombre': 'Prueba 01'}
Jose
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too