1👍
The model manager is called via objects
, not object
:
curso_nombre = str(cursos.objects.filter(id=self.id).values('nombre'))
# HERE^
Source:stackexchange.com
1👍
The model manager is called via objects
, not object
:
curso_nombre = str(cursos.objects.filter(id=self.id).values('nombre'))
# HERE^