Browse Source

Fix #1359

pull/1361/head
LeandroRoberto 7 years ago
parent
commit
cb9d9c558b
  1. 1
      sapl/materia/models.py

1
sapl/materia/models.py

@ -300,6 +300,7 @@ class Autoria(models.Model):
verbose_name = _('Autoria')
verbose_name_plural = _('Autorias')
unique_together = (('autor', 'materia'), )
ordering = ('-primeiro_autor', 'autor__nome')
def __str__(self):
return _('%(autor)s - %(materia)s') % {

Loading…
Cancel
Save