From a6f006bff0f1b120c5b75c9a03ba6616be5ad6af Mon Sep 17 00:00:00 2001 From: "Starlone (Estagiario)" Date: Wed, 28 Jul 2010 19:21:45 +0000 Subject: [PATCH] Adicionando sigla em Projeto --- sigi/apps/convenios/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigi/apps/convenios/models.py b/sigi/apps/convenios/models.py index 2cb62b7..2b86da2 100644 --- a/sigi/apps/convenios/models.py +++ b/sigi/apps/convenios/models.py @@ -6,9 +6,10 @@ from django.contrib.contenttypes import generic class Projeto(models.Model): nome = models.CharField(max_length=50) + sigla = models.CharField(max_length=10) def __unicode__(self): - return self.nome + return self.sigla class Convenio(models.Model): casa_legislativa = models.ForeignKey(