fix DeprecationWarning

Use '__' to separate path components, not '.' in accessors
(fallback will be removed in django_tables2 version 3)
parent 27edd95c
Pipeline #592 failed with stage
in 2 seconds
......@@ -27,7 +27,7 @@ class EvaluadoresTable(tables.Table):
class Meta:
attrs = {'class': 'table table-striped table-hover cabecera-azul'}
model = Proyecto
fields = ('programa', 'linea', 'titulo', 'evaluador.full_name', 'editar')
fields = ('programa', 'linea', 'titulo', 'evaluador__full_name', 'editar')
empty_text = _('Por el momento no se ha presentado ninguna solicitud de proyecto.')
template_name = 'django_tables2/bootstrap4.html'
per_page = 20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment