fixing the length of a field 200807131918
authorLincoln de Sousa <lincoln@minaslivre.org>
Sun, 13 Jul 2008 22:18:09 +0000 (19:18 -0300)
committerLincoln de Sousa <lincoln@minaslivre.org>
Sun, 13 Jul 2008 22:18:09 +0000 (19:18 -0300)
eventos/models.py

index fd7d809..c5d9d84 100644 (file)
@@ -60,7 +60,7 @@ class Palestrante(models.Model):
     instituicao = models.CharField(u'Instituição', max_length=250, blank=True)
 
     endereco = models.TextField()
-    cep = models.CharField(max_length=5)
+    cep = models.CharField(max_length=8)
     cidade = models.CharField(max_length=100)
     estado = models.CharField(max_length=2, choices=STATE_CHOICES)